summaryrefslogtreecommitdiff
path: root/common/alloc.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-01-05 17:57:03 +0000
committerTed Lemon <source@isc.org>2000-01-05 17:57:03 +0000
commit8261b0e13696d61f6fe6b3813cf8de05074cfa51 (patch)
tree22dcf8618fa3a57699ce9d240531a7dc265ad67f /common/alloc.c
parent87944e8a510f84aeed2b9067a303fded4d239071 (diff)
downloadisc-dhcp-8261b0e13696d61f6fe6b3813cf8de05074cfa51.tar.gz
Get rid of failover allocators that aren't needed.
Diffstat (limited to 'common/alloc.c')
-rw-r--r--common/alloc.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/common/alloc.c b/common/alloc.c
index c0963a69..b924373f 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;