2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

Add some code to prevent pulling in libraries we don't need. (yuck)

This commit is contained in:
Ted Lemon
1998-11-05 18:36:34 +00:00
parent 14ecb5bacd
commit a560623f05

View File

@@ -44,7 +44,7 @@
#ifndef lint #ifndef lint
static char copyright[] = 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 */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -66,6 +66,12 @@ struct interface_info fallback_interface;
TIME cur_time; TIME cur_time;
u_int16_t local_port; 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 dhcp_max_agent_option_packet_length;
int main (argc, argv, envp) int main (argc, argv, envp)
@@ -265,3 +271,8 @@ void dhcp (packet)
} }
struct subnet *find_subnet (addr)
struct iaddr addr;
{
return (struct subnet *)0;
}