diff options
author | 2006-03-08 15:36:28 +0000 | |
---|---|---|
committer | 2006-03-08 15:36:28 +0000 | |
commit | cd7a28e2ebc94f0a731e205aea02db8ed50b2b7d (patch) | |
tree | 12eec093b97c603ce7e2a9b09b0fe130e96a279d | |
parent | Spaces and other minor cleanup. (diff) | |
download | wireguard-openbsd-cd7a28e2ebc94f0a731e205aea02db8ed50b2b7d.tar.xz wireguard-openbsd-cd7a28e2ebc94f0a731e205aea02db8ed50b2b7d.zip |
Move procnames from log.h to log.c it is only used there.
-rw-r--r-- | usr.sbin/ospfd/log.c | 8 | ||||
-rw-r--r-- | usr.sbin/ospfd/log.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/ospfd/log.c b/usr.sbin/ospfd/log.c index 33e41069762..6b198cbfbe9 100644 --- a/usr.sbin/ospfd/log.c +++ b/usr.sbin/ospfd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.2 2005/03/31 12:14:34 henning Exp $ */ +/* $OpenBSD: log.c,v 1.3 2006/03/08 15:36:28 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -27,6 +27,12 @@ #include "ospfd.h" #include "log.h" +static const char * const procnames[] = { + "parent", + "ospfe", + "rde" +}; + int debug; void logit(int, const char *, ...); diff --git a/usr.sbin/ospfd/log.h b/usr.sbin/ospfd/log.h index 65caffcad90..b45d25ea165 100644 --- a/usr.sbin/ospfd/log.h +++ b/usr.sbin/ospfd/log.h @@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.1 2005/01/28 14:05:40 claudio Exp $ */ +/* $OpenBSD: log.h,v 1.2 2006/03/08 15:36:28 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -30,10 +30,4 @@ void log_debug(const char *, ...); void fatal(const char *); void fatalx(const char *); -static const char * const procnames[] = { - "parent", - "ospfe", - "rde" -}; - #endif /* _LOG_H_ */ |