summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/hash.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-11-10 16:42:18 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-11-10 16:42:18 +0000
commit70280662f81f86d4ac17c0003062560e46a90527 (patch)
tree599fec0636cb98757b4d2fa90adbfa9344e228be /usr.sbin/dhcpd/hash.c
parent21bccaf1bbbfd79b3aefbac8ee447f40189c14c0 (diff)
Remove prototypes for functions removed 10+ years ago. Return types should be on
their own lines. Diffs from Martin Vahlensiech via tech@. Thanks!
Diffstat (limited to 'usr.sbin/dhcpd/hash.c')
-rw-r--r--usr.sbin/dhcpd/hash.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/hash.c b/usr.sbin/dhcpd/hash.c
index 2f84aad9e93..1c1f7baea64 100644
--- a/usr.sbin/dhcpd/hash.c
+++ b/usr.sbin/dhcpd/hash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hash.c,v 1.8 2017/02/13 19:13:14 krw Exp $ */
+/* $OpenBSD: hash.c,v 1.9 2020/11/10 16:42:17 krw Exp $ */
/* Routines for manipulating hash tables... */
@@ -89,7 +89,8 @@ do_hash(unsigned char *name, int len, int size)
return (accum % size);
}
-void add_hash(struct hash_table *table, unsigned char *name, int len,
+void
+add_hash(struct hash_table *table, unsigned char *name, int len,
unsigned char *pointer)
{
int hashno;