From 0991a9522eeb0c7735a7e45554c1698d9c79d89c Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Thu, 22 Jan 2004 21:09:01 +0000 Subject: 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. --- usr.sbin/bgpd/bgpd.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin/bgpd/bgpd.h') 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 @@ -27,7 +27,6 @@ #include #include -#include #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 *); -- cgit v1.2.3