diff options
author | rob <rob@cvs.openbsd.org> | 2018-07-04 15:21:25 +0000 |
---|---|---|
committer | rob <rob@cvs.openbsd.org> | 2018-07-04 15:21:25 +0000 |
commit | 5c660606ecc99ecfa6e8a7105ef6fb197d09718a (patch) | |
tree | edd9ef3f514d4bb820e25a2f8477c42cdaf57afe | |
parent | de6f236688a40b7d3512e1d8c96a0a26df88fc2e (diff) |
More whitespace.
-rw-r--r-- | usr.bin/ldap/ber.c | 6 | ||||
-rw-r--r-- | usr.sbin/ldapd/ber.c | 6 | ||||
-rw-r--r-- | usr.sbin/snmpd/ber.c | 6 | ||||
-rw-r--r-- | usr.sbin/ypldap/ber.c | 6 |
4 files changed, 8 insertions, 16 deletions
diff --git a/usr.bin/ldap/ber.c b/usr.bin/ldap/ber.c index 8cc44c31d94..3683c618770 100644 --- a/usr.bin/ldap/ber.c +++ b/usr.bin/ldap/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.10 2018/07/04 13:31:57 rob Exp $ */ +/* $OpenBSD: ber.c,v 1.11 2018/07/04 15:21:24 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -230,7 +230,6 @@ ber_get_enumerated(struct ber_element *elm, long long *n) return 0; } - struct ber_element * ber_add_boolean(struct ber_element *prev, int bool) { @@ -1261,7 +1260,6 @@ ber_set_writecallback(struct ber_element *elm, void (*cb)(void *, size_t), elm->be_cbarg = arg; } - void ber_free(struct ber *b) { @@ -1304,7 +1302,7 @@ ber_oid_cmp(struct ber_oid *a, struct ber_oid *b) } else { /* b is a predecessor of a */ return (-1); - } + } } else if (b->bo_id[i] != 0) { /* b is larger, but a child of a */ return (2); diff --git a/usr.sbin/ldapd/ber.c b/usr.sbin/ldapd/ber.c index 262f12a5bb5..3ebbf368b67 100644 --- a/usr.sbin/ldapd/ber.c +++ b/usr.sbin/ldapd/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.20 2018/07/04 13:31:57 rob Exp $ */ +/* $OpenBSD: ber.c,v 1.21 2018/07/04 15:21:24 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -230,7 +230,6 @@ ber_get_enumerated(struct ber_element *elm, long long *n) return 0; } - struct ber_element * ber_add_boolean(struct ber_element *prev, int bool) { @@ -1261,7 +1260,6 @@ ber_set_writecallback(struct ber_element *elm, void (*cb)(void *, size_t), elm->be_cbarg = arg; } - void ber_free(struct ber *b) { @@ -1304,7 +1302,7 @@ ber_oid_cmp(struct ber_oid *a, struct ber_oid *b) } else { /* b is a predecessor of a */ return (-1); - } + } } else if (b->bo_id[i] != 0) { /* b is larger, but a child of a */ return (2); diff --git a/usr.sbin/snmpd/ber.c b/usr.sbin/snmpd/ber.c index 2ad72a31df1..58d9749aabc 100644 --- a/usr.sbin/snmpd/ber.c +++ b/usr.sbin/snmpd/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.39 2018/07/04 13:31:57 rob Exp $ */ +/* $OpenBSD: ber.c,v 1.40 2018/07/04 15:21:24 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -230,7 +230,6 @@ ber_get_enumerated(struct ber_element *elm, long long *n) return 0; } - struct ber_element * ber_add_boolean(struct ber_element *prev, int bool) { @@ -1261,7 +1260,6 @@ ber_set_writecallback(struct ber_element *elm, void (*cb)(void *, size_t), elm->be_cbarg = arg; } - void ber_free(struct ber *b) { @@ -1304,7 +1302,7 @@ ber_oid_cmp(struct ber_oid *a, struct ber_oid *b) } else { /* b is a predecessor of a */ return (-1); - } + } } else if (b->bo_id[i] != 0) { /* b is larger, but a child of a */ return (2); diff --git a/usr.sbin/ypldap/ber.c b/usr.sbin/ypldap/ber.c index cc268a4ad6a..72a8b2b424a 100644 --- a/usr.sbin/ypldap/ber.c +++ b/usr.sbin/ypldap/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.22 2018/07/04 13:31:57 rob Exp $ */ +/* $OpenBSD: ber.c,v 1.23 2018/07/04 15:21:24 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -230,7 +230,6 @@ ber_get_enumerated(struct ber_element *elm, long long *n) return 0; } - struct ber_element * ber_add_boolean(struct ber_element *prev, int bool) { @@ -1261,7 +1260,6 @@ ber_set_writecallback(struct ber_element *elm, void (*cb)(void *, size_t), elm->be_cbarg = arg; } - void ber_free(struct ber *b) { @@ -1304,7 +1302,7 @@ ber_oid_cmp(struct ber_oid *a, struct ber_oid *b) } else { /* b is a predecessor of a */ return (-1); - } + } } else if (b->bo_id[i] != 0) { /* b is larger, but a child of a */ return (2); |