diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-04 18:58:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-04 18:58:51 +0000 |
commit | 827bf4599afcc82fb73f3e1878d0a8f1d844c082 (patch) | |
tree | 24b5130ef8583a7283596a9dfcd8f30d10a91f81 /sbin/dhclient/alloc.c | |
parent | 2bcbcadf73ccafdf58efa86d49cd78457540582d (diff) |
more shrink and lint fixes; henning ok
Diffstat (limited to 'sbin/dhclient/alloc.c')
-rw-r--r-- | sbin/dhclient/alloc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/dhclient/alloc.c b/sbin/dhclient/alloc.c index 3301035aabf..de129a1b650 100644 --- a/sbin/dhclient/alloc.c +++ b/sbin/dhclient/alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alloc.c,v 1.7 2004/04/14 20:22:27 henning Exp $ */ +/* $OpenBSD: alloc.c,v 1.8 2004/05/04 18:58:50 deraadt Exp $ */ /* Memory allocation... */ @@ -43,7 +43,7 @@ #include "dhcpd.h" struct string_list * -new_string_list(size_t size, char * name) +new_string_list(size_t size) { struct string_list *rval; @@ -54,7 +54,7 @@ new_string_list(size_t size, char * name) } struct hash_table * -new_hash_table(int count, char *name) +new_hash_table(int count) { struct hash_table *rval; @@ -68,7 +68,7 @@ new_hash_table(int count, char *name) } struct hash_bucket * -new_hash_bucket(char *name) +new_hash_bucket(void) { struct hash_bucket *rval = calloc(1, sizeof(struct hash_bucket)); @@ -76,7 +76,7 @@ new_hash_bucket(char *name) } void -free_hash_bucket(struct hash_bucket *ptr, char *name) +free_hash_bucket(struct hash_bucket *ptr) { free(ptr); } |