From: Ted Lemon Date: Thu, 5 Nov 1998 18:36:34 +0000 (+0000) Subject: Add some code to prevent pulling in libraries we don't need. (yuck) X-Git-Tag: V2-BETA-1-PATCH-7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a560623f05990e68701302a34d56b87c2496a4e3;p=thirdparty%2Fdhcp.git Add some code to prevent pulling in libraries we don't need. (yuck) --- diff --git a/sysconfd/sysconfd.c b/sysconfd/sysconfd.c index 42f207322..86a335126 100644 --- a/sysconfd/sysconfd.c +++ b/sysconfd/sysconfd.c @@ -44,7 +44,7 @@ #ifndef lint static char copyright[] = -"$Id: sysconfd.c,v 1.5 1998/04/09 04:22:30 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: sysconfd.c,v 1.6 1998/11/05 18:36:34 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -66,6 +66,12 @@ struct interface_info fallback_interface; TIME cur_time; u_int16_t local_port; +/* Needed to prevent linking against conflex.c. */ +int lexline; +int lexchar; +char *token_line; +char *tlname; + int dhcp_max_agent_option_packet_length; int main (argc, argv, envp) @@ -265,3 +271,8 @@ void dhcp (packet) } +struct subnet *find_subnet (addr) + struct iaddr addr; +{ + return (struct subnet *)0; +}