summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-02-12 13:15:51 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-02-12 13:15:51 +0000
commitb1f4da57980d4b1a93867c6163fe2551e76f8bfa (patch)
treec30e4bae372115d51d747f289feff089644f8271 /sbin/dhclient/dhcpd.h
parent8fa79650edfb6d1227033653a68a29d232c58f22 (diff)
Switch from 'legacy' errwarn.c to standard daemon logging functions.
No objections heard. Feedback from millert@ guenther@
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index f63d8830017..c70e06c7e76 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.159 2017/02/11 16:12:36 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.160 2017/02/12 13:15:50 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -192,15 +192,6 @@ int pretty_print_domain_search(unsigned char *, size_t, unsigned char *,
void do_packet(struct interface_info *, unsigned int, struct in_addr,
struct ether_addr *);
-/* errwarn.c */
-extern int warnings_occurred;
-void error(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
-void warning(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
-void note(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
-#ifdef DEBUG
-void debug(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
-#endif
-
/* conflex.c */
extern int lexline, lexchar;
extern char *token_line, *tlname;
@@ -209,6 +200,7 @@ int next_token(char **, FILE *);
int peek_token(char **, FILE *);
/* parse.c */
+extern int warnings_occurred;
void skip_to_semi(FILE *);
int parse_semi(FILE *);
char *parse_string(FILE *);