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

Don't redefine _PATH_DHCPD_xxx

This commit is contained in:
Ted Lemon 1996-09-11 06:36:57 +00:00
parent 5448eba39d
commit 911af7a5cb
12 changed files with 32 additions and 14 deletions

View File

@ -67,7 +67,9 @@ extern int h_errno;
#define VA_DOTDOTDOT va_alist
#define VA_start(list, last) va_start (list)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -59,8 +59,12 @@ extern int h_errno;
#define va_dcl
#define VA_start(list, last) va_start (list, last)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
#endif
#ifndef _PATH_DHCPD_DB
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -61,8 +61,12 @@ extern int h_errno;
#define va_dcl
#define VA_start(list, last) va_start (list, last)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
#endif
#ifndef _PATH_DHCPD_DB
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -59,8 +59,12 @@ extern int h_errno;
#define va_dcl
#define VA_start(list, last) va_start (list, last)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
#endif
#ifndef _PATH_DHCPD_DB
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -61,7 +61,9 @@ extern int h_errno;
#define va_dcl
#define VA_start(list, last) va_start (list, last)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -52,13 +52,6 @@ extern int h_errno;
#include <net/if.h>
/*#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"*/
/*
* Ultrix systems don't have /var/run, but some sites have added it.
* if yours is one, edit this file or define _PATH_DHCPD_PID externally.
*/
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif

View File

@ -67,7 +67,9 @@ extern int h_errno;
#define VA_DOTDOTDOT va_alist
#define VA_start(list, last) va_start (list)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -59,8 +59,12 @@ extern int h_errno;
#define va_dcl
#define VA_start(list, last) va_start (list, last)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
#endif
#ifndef _PATH_DHCPD_DB
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -61,8 +61,12 @@ extern int h_errno;
#define va_dcl
#define VA_start(list, last) va_start (list, last)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
#endif
#ifndef _PATH_DHCPD_DB
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -59,8 +59,12 @@ extern int h_errno;
#define va_dcl
#define VA_start(list, last) va_start (list, last)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
#endif
#ifndef _PATH_DHCPD_DB
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -61,7 +61,9 @@ extern int h_errno;
#define va_dcl
#define VA_start(list, last) va_start (list, last)
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -52,13 +52,6 @@ extern int h_errno;
#include <net/if.h>
/*#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"*/
/*
* Ultrix systems don't have /var/run, but some sites have added it.
* if yours is one, edit this file or define _PATH_DHCPD_PID externally.
*/
#ifndef _PATH_DHCPD_PID
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif