diff options
| author | 2010-01-01 08:02:34 +0000 | |
|---|---|---|
| committer | 2010-01-01 08:02:34 +0000 | |
| commit | 0372438b4d3ee9aaa65d07cbfe5b48dd751d8f2e (patch) | |
| tree | c500a7dffb24661f6386be392db9f490a55f2f54 /usr.sbin/dhcpd/alloc.c | |
| parent | deck chair shuffling (diff) | |
| download | wireguard-openbsd-0372438b4d3ee9aaa65d07cbfe5b48dd751d8f2e.tar.xz wireguard-openbsd-0372438b4d3ee9aaa65d07cbfe5b48dd751d8f2e.zip | |
Two more calloc() wrapper wrappers, new_shared_network() and
new_subnet(), bite the dust.
Diffstat (limited to 'usr.sbin/dhcpd/alloc.c')
| -rw-r--r-- | usr.sbin/dhcpd/alloc.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/usr.sbin/dhcpd/alloc.c b/usr.sbin/dhcpd/alloc.c index efa7d2a74f4..a9e31dc4c1e 100644 --- a/usr.sbin/dhcpd/alloc.c +++ b/usr.sbin/dhcpd/alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alloc.c,v 1.6 2010/01/01 06:25:37 krw Exp $ */ +/* $OpenBSD: alloc.c,v 1.7 2010/01/01 08:02:34 krw Exp $ */ /* Memory allocation... */ @@ -123,21 +123,6 @@ free_tree(struct tree *ptr, char *name) dfree(ptr, name); } -struct shared_network * -new_shared_network(char *name) -{ - struct shared_network *rval = - dmalloc(sizeof(struct shared_network), name); - return (rval); -} - -struct subnet * -new_subnet(char *name) -{ - struct subnet *rval = dmalloc(sizeof(struct subnet), name); - return (rval); -} - struct lease_state * new_lease_state(char *name) { |
