summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2010-10-24 17:20:08 +0000
committerderaadt <deraadt@openbsd.org>2010-10-24 17:20:08 +0000
commitadbdb3f993df8ba7ff1fb7f92cbe97860b84b9bb (patch)
treec71471bd556fb3fdc79c8b766f348283f277c25a
parentthe subtype should be printed unsigned; ok claudio (diff)
downloadwireguard-openbsd-adbdb3f993df8ba7ff1fb7f92cbe97860b84b9bb.tar.xz
wireguard-openbsd-adbdb3f993df8ba7ff1fb7f92cbe97860b84b9bb.zip
spacing and irrelevant glitches which disrupt lint
-rw-r--r--usr.sbin/bgpd/bgpd.h4
-rw-r--r--usr.sbin/bgpd/config.c4
-rw-r--r--usr.sbin/bgpd/timer.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index cfb7449635f..827b9f4cbe9 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.262 2010/06/27 19:53:34 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.263 2010/10/24 17:20:08 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -532,7 +532,7 @@ struct ctl_show_nexthop {
struct kroute6 kr6;
} kr;
u_int8_t valid;
- u_int8_t krvalid;;
+ u_int8_t krvalid;
};
struct ctl_neighbor {
diff --git a/usr.sbin/bgpd/config.c b/usr.sbin/bgpd/config.c
index bd46f9e3a47..9e9abae9080 100644
--- a/usr.sbin/bgpd/config.c
+++ b/usr.sbin/bgpd/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.55 2010/09/02 14:03:21 sobrado Exp $ */
+/* $OpenBSD: config.c,v 1.56 2010/10/24 17:20:08 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -332,7 +332,7 @@ get_mpe_label(struct rdomain *r)
strlcpy(ifr.ifr_name, r->ifmpe, sizeof(ifr.ifr_name));
ifr.ifr_data = (caddr_t)&shim;
- if (ioctl(s, SIOCGETLABEL , (caddr_t)&ifr) == -1) {
+ if (ioctl(s, SIOCGETLABEL, (caddr_t)&ifr) == -1) {
close(s);
return (-1);
}
diff --git a/usr.sbin/bgpd/timer.c b/usr.sbin/bgpd/timer.c
index 41ccede8d54..0aaba0886a2 100644
--- a/usr.sbin/bgpd/timer.c
+++ b/usr.sbin/bgpd/timer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: timer.c,v 1.13 2009/01/21 20:32:53 henning Exp $ */
+/* $OpenBSD: timer.c,v 1.14 2010/10/24 17:20:08 deraadt Exp $ */
/*
* Copyright (c) 2003-2007 Henning Brauer <henning@openbsd.org>
@@ -43,7 +43,7 @@ timer_get(struct peer *p, enum Timer timer)
TAILQ_FOREACH(pt, &p->timers, entry)
if (pt->type == timer)
- break;
+ break;
return (pt);
}