2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

error() returns void; declare all variables as extern

This commit is contained in:
Ted Lemon 1996-05-17 23:29:07 +00:00
parent 30b185f29c
commit 8fdfeffecd
2 changed files with 10 additions and 10 deletions

10
dhcpd.h
View File

@ -48,7 +48,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include <strings.h>
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <ctype.h>
@ -213,16 +213,16 @@ int store_options PROTO ((unsigned char *, int, struct tree_cache **,
char *pretty_print_option PROTO ((unsigned char, unsigned char *, int));
/* errwarn.c */
int error PROTO ((char *, ...));
void error PROTO ((char *, ...));
int warn PROTO ((char *, ...));
int note PROTO ((char *, ...));
int debug PROTO ((char *, ...));
int parse_warn PROTO ((char *, ...));
/* dhcpd.c */
TIME cur_time;
TIME default_lease_time;
TIME max_lease_time;
extern TIME cur_time;
extern TIME default_lease_time;
extern TIME max_lease_time;
extern u_int16_t server_port;
extern int log_priority;

View File

@ -48,7 +48,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include <strings.h>
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <ctype.h>
@ -213,16 +213,16 @@ int store_options PROTO ((unsigned char *, int, struct tree_cache **,
char *pretty_print_option PROTO ((unsigned char, unsigned char *, int));
/* errwarn.c */
int error PROTO ((char *, ...));
void error PROTO ((char *, ...));
int warn PROTO ((char *, ...));
int note PROTO ((char *, ...));
int debug PROTO ((char *, ...));
int parse_warn PROTO ((char *, ...));
/* dhcpd.c */
TIME cur_time;
TIME default_lease_time;
TIME max_lease_time;
extern TIME cur_time;
extern TIME default_lease_time;
extern TIME max_lease_time;
extern u_int16_t server_port;
extern int log_priority;