diff options
author | 2016-09-04 10:10:23 +0000 | |
---|---|---|
committer | 2016-09-04 10:10:23 +0000 | |
commit | 88935985bae9da5c2ba48c5fa23747360d7a9895 (patch) | |
tree | 8185defa22ce6bbda95b86f924da0b4a46f13982 | |
parent | Switch the cubie miniroot from the Allwinner A10 based Cubieboard1 (diff) | |
download | wireguard-openbsd-88935985bae9da5c2ba48c5fa23747360d7a9895.tar.xz wireguard-openbsd-88935985bae9da5c2ba48c5fa23747360d7a9895.zip |
A few bits of stray leading/embedded/trailing whitespace spotted while
stealing code.
-rw-r--r-- | usr.sbin/ospfd/ospfd.c | 4 | ||||
-rw-r--r-- | usr.sbin/ospfd/rde.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c index 72a6c7a6cd8..2ef1edc04a7 100644 --- a/usr.sbin/ospfd/ospfd.c +++ b/usr.sbin/ospfd/ospfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.c,v 1.91 2016/09/03 10:22:57 renato Exp $ */ +/* $OpenBSD: ospfd.c,v 1.92 2016/09/04 10:10:23 krw Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -282,7 +282,7 @@ main(int argc, char *argv[]) __dead void ospfd_shutdown(void) { - pid_t pid; + pid_t pid; int status; struct redistribute *r; diff --git a/usr.sbin/ospfd/rde.c b/usr.sbin/ospfd/rde.c index 92b9d82e39e..fdc92ba9103 100644 --- a/usr.sbin/ospfd/rde.c +++ b/usr.sbin/ospfd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.103 2016/09/03 10:22:57 renato Exp $ */ +/* $OpenBSD: rde.c,v 1.104 2016/09/04 10:10:23 krw Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -844,7 +844,6 @@ rde_send_summary(pid_t pid) RB_FOREACH(v, lsa_tree, &asext_tree) { sumctl.num_ext_lsa++; sumctl.ext_lsa_cksum += ntohs(v->lsa->hdr.ls_chksum); - } gettimeofday(&now, NULL); @@ -1132,7 +1131,7 @@ RB_HEAD(asext_tree, asext_node) ast; RB_PROTOTYPE(asext_tree, asext_node, entry, asext_compare) RB_GENERATE(asext_tree, asext_node, entry, asext_compare) -static __inline int +static __inline int asext_compare(struct asext_node *a, struct asext_node *b) { if (ntohl(a->r.prefix.s_addr) < ntohl(b->r.prefix.s_addr)) |