diff options
Diffstat (limited to 'usr.sbin/dhcpd/alloc.c')
-rw-r--r-- | usr.sbin/dhcpd/alloc.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.sbin/dhcpd/alloc.c b/usr.sbin/dhcpd/alloc.c index cd060fb4cff..01db3635eb0 100644 --- a/usr.sbin/dhcpd/alloc.c +++ b/usr.sbin/dhcpd/alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alloc.c,v 1.8 2010/01/01 18:01:44 krw Exp $ */ +/* $OpenBSD: alloc.c,v 1.9 2010/01/01 19:10:24 krw Exp $ */ /* Memory allocation... */ @@ -82,20 +82,6 @@ new_tree_cache(char *name) return (rval); } -struct hash_table * -new_hash_table(int count, char *name) -{ - struct hash_table *rval; - - rval = dmalloc(sizeof(struct hash_table) - - (DEFAULT_HASH_SIZE * sizeof(struct hash_bucket *)) + - (count * sizeof(struct hash_bucket *)), name); - if (rval == NULL) - return (NULL); - rval->hash_count = count; - return (rval); -} - void free_hash_bucket(struct hash_bucket *ptr, char *name) { |