From: Ted Lemon Date: Wed, 5 Jan 2000 17:57:03 +0000 (+0000) Subject: Get rid of failover allocators that aren't needed. X-Git-Tag: V3-BETA-2-PATCH-1~481 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8261b0e13696d61f6fe6b3813cf8de05074cfa51;p=thirdparty%2Fdhcp.git Get rid of failover allocators that aren't needed. --- diff --git a/common/alloc.c b/common/alloc.c index c0963a69b..b924373f1 100644 --- a/common/alloc.c +++ b/common/alloc.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: alloc.c,v 1.35 1999/10/14 17:43:02 mellon Exp $ Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. All rights reserved.\n"; +"$Id: alloc.c,v 1.36 2000/01/05 17:57:03 mellon Exp $ Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -335,27 +335,6 @@ void free_pool (pool, name) dfree (pool, name); } -#if defined (FAILOVER_PROTOCOL) -struct failover_peer *new_failover_peer (name) - const char *name; -{ - struct failover_peer *peer = ((struct failover_peer *) - dmalloc (sizeof (struct failover_peer), - name)); - if (!peer) - return peer; - memset (peer, 0, sizeof *peer); - return peer; -} - -void free_failover_peer (peer, name) - struct failover_peer *peer; - const char *name; -{ - dfree (peer, name); -} -#endif /* defined (FAILOVER_PROTOCOL) */ - struct auth_key *new_auth_key (len, name) unsigned len; const char *name;