summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ospf6d/log.h')
-rw-r--r--usr.sbin/ospf6d/log.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/usr.sbin/ospf6d/log.h b/usr.sbin/ospf6d/log.h
index e51d6e8b2eb..580fb608df4 100644
--- a/usr.sbin/ospf6d/log.h
+++ b/usr.sbin/ospf6d/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.9 2016/06/06 15:57:44 benno Exp $ */
+/* $OpenBSD: log.h,v 1.10 2016/09/02 14:06:35 benno Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -16,10 +16,13 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef _LOG_H_
-#define _LOG_H_
+#ifndef LOG_H
+#define LOG_H
#include <stdarg.h>
+#include <sys/cdefs.h>
+
+extern const char *log_procname;
void log_init(int);
void log_verbose(int);
@@ -40,9 +43,4 @@ void fatal(const char *) __dead
void fatalx(const char *) __dead
__attribute__((__format__ (printf, 1, 0)));
-const char *log_in6addr(const struct in6_addr *);
-const char *log_in6addr_scope(const struct in6_addr *, unsigned int);
-const char *log_rtr_id(u_int32_t);
-const char *log_sockaddr(void *);
-
-#endif /* _LOG_H_ */
+#endif /* LOG_H */