diff options
| author | 2010-01-01 18:01:44 +0000 | |
|---|---|---|
| committer | 2010-01-01 18:01:44 +0000 | |
| commit | 1c629c6dff33ee9a75d2cb169434c307c85de737 (patch) | |
| tree | f04a162cd0a33a48bbdb72b261d09aae403e91c5 /usr.sbin/dhcpd/alloc.c | |
| parent | for -z/-l, if several candidates are found, try to order them, and use the (diff) | |
| download | wireguard-openbsd-1c629c6dff33ee9a75d2cb169434c307c85de737.tar.xz wireguard-openbsd-1c629c6dff33ee9a75d2cb169434c307c85de737.zip | |
Another calloc() wrapper wrapper, new_tree(), bites the dust.
Diffstat (limited to 'usr.sbin/dhcpd/alloc.c')
| -rw-r--r-- | usr.sbin/dhcpd/alloc.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.sbin/dhcpd/alloc.c b/usr.sbin/dhcpd/alloc.c index a9e31dc4c1e..cd060fb4cff 100644 --- a/usr.sbin/dhcpd/alloc.c +++ b/usr.sbin/dhcpd/alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alloc.c,v 1.7 2010/01/01 08:02:34 krw Exp $ */ +/* $OpenBSD: alloc.c,v 1.8 2010/01/01 18:01:44 krw Exp $ */ /* Memory allocation... */ @@ -64,14 +64,6 @@ dfree(void *ptr, char *name) free(ptr); } -struct tree * -new_tree(char *name) -{ - struct tree *rval = dmalloc(sizeof(struct tree), name); - - return (rval); -} - struct tree_cache *free_tree_caches; struct tree_cache * |
