2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

Delete unused automatic variables; don't put copyright string in ifdef lint

This commit is contained in:
Ted Lemon 1996-06-04 19:21:16 +00:00
parent fde59885f3
commit 955d158bd0
2 changed files with 4 additions and 20 deletions

12
dhcpd.c
View File

@ -40,12 +40,10 @@
* Enterprises, see ``http://www.vix.com''.
*/
#ifndef lint
static char copyright[] =
"Copyright 1995, 1996 The Internet Software Consortium.";
static char arr [] = "All rights reserved.";
static char message [] = "Internet Software Consortium DHCPD $Name: $";
#endif /* not lint */
#include "dhcpd.h"
@ -70,18 +68,12 @@ int main (argc, argv, envp)
int argc;
char **argv, **envp;
{
struct in_addr addr;
int port = 0;
int i;
struct sockaddr_in name;
u_int32_t *addrlist = (u_int32_t *)0;
int addrcount = 0;
struct tree *addrtree = (struct tree *)0;
struct servent *ent;
int sock;
#ifndef DEBUG
int pid;
int result;
int flag;
#endif
#ifdef SYSLOG_4_2
openlog ("dhcpd", LOG_NDELAY);

View File

@ -40,12 +40,10 @@
* Enterprises, see ``http://www.vix.com''.
*/
#ifndef lint
static char copyright[] =
"Copyright 1995, 1996 The Internet Software Consortium.";
static char arr [] = "All rights reserved.";
static char message [] = "Internet Software Consortium DHCPD $Name: $";
#endif /* not lint */
#include "dhcpd.h"
@ -70,18 +68,12 @@ int main (argc, argv, envp)
int argc;
char **argv, **envp;
{
struct in_addr addr;
int port = 0;
int i;
struct sockaddr_in name;
u_int32_t *addrlist = (u_int32_t *)0;
int addrcount = 0;
struct tree *addrtree = (struct tree *)0;
struct servent *ent;
int sock;
#ifndef DEBUG
int pid;
int result;
int flag;
#endif
#ifdef SYSLOG_4_2
openlog ("dhcpd", LOG_NDELAY);