]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add some code to prevent pulling in libraries we don't need. (yuck)
authorTed Lemon <source@isc.org>
Thu, 5 Nov 1998 18:36:34 +0000 (18:36 +0000)
committerTed Lemon <source@isc.org>
Thu, 5 Nov 1998 18:36:34 +0000 (18:36 +0000)
sysconfd/sysconfd.c

index 42f2073226e0091ddcb687b798d34dba178345a1..86a335126e2de90f2cbaba3ece947e300f08eddb 100644 (file)
@@ -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;
+}