diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-22 21:09:01 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-22 21:09:01 +0000 |
commit | 0991a9522eeb0c7735a7e45554c1698d9c79d89c (patch) | |
tree | 404b84817386c20df27dc236877d50b6c4f13c91 /usr.sbin/bgpd/bgpd.h | |
parent | ab5125e110d669f4ecd17be205d2235ecdaa8466 (diff) |
provide a log_debug and use it in rde.c.
with this, logit() can be a private function.
we don't need to include syslog.h in bgpd.h any more; log.c and parse.y
who need it include it directly now.
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 8009478c036..9cf7b38fa94 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.77 2004/01/22 20:59:16 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.78 2004/01/22 21:08:59 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -27,7 +27,6 @@ #include <poll.h> #include <stdarg.h> -#include <syslog.h> #define BGP_VERSION 4 #define BGP_PORT 179 @@ -282,13 +281,13 @@ int msgbuf_unbounded(struct msgbuf *msgbuf); /* log.c */ void log_init(int); -void logit(int, const char *, ...); void vlog(int, const char *, va_list); void log_peer_warn(const struct peer_config *, const char *, ...); void log_peer_warnx(const struct peer_config *, const char *, ...); void log_warn(const char *, ...); void log_warnx(const char *, ...); void log_info(const char *, ...); +void log_debug(const char *, ...); void fatal(const char *); void fatalx(const char *); void fatal_ensure(const char *, int, const char *); |