summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/log.h
diff options
context:
space:
mode:
authorbenno <benno@openbsd.org>2016-07-19 07:58:51 +0000
committerbenno <benno@openbsd.org>2016-07-19 07:58:51 +0000
commitcb34b637589ed2ef2561c85580f27aa1c06d1ee1 (patch)
tree14a68e056edb6ebbb9ef70247f0857ac3f2104b2 /usr.sbin/ripd/log.h
parentCleanup close(open idioms. (diff)
downloadwireguard-openbsd-cb34b637589ed2ef2561c85580f27aa1c06d1ee1.tar.xz
wireguard-openbsd-cb34b637589ed2ef2561c85580f27aa1c06d1ee1.zip
remove bogus attributes on fatal* spotted by guenther@
Diffstat (limited to 'usr.sbin/ripd/log.h')
-rw-r--r--usr.sbin/ripd/log.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ripd/log.h b/usr.sbin/ripd/log.h
index 98707c1fc8d..9d64448f0b3 100644
--- a/usr.sbin/ripd/log.h
+++ b/usr.sbin/ripd/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.4 2016/07/18 21:20:31 benno Exp $ */
+/* $OpenBSD: log.h,v 1.5 2016/07/19 07:58:51 benno Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -35,10 +35,8 @@ void log_info(const char *, ...)
__attribute__((__format__ (printf, 1, 2)));
void log_debug(const char *, ...)
__attribute__((__format__ (printf, 1, 2)));
-void fatal(const char *) __dead
- __attribute__((__format__ (printf, 1, 0)));
-void fatalx(const char *) __dead
- __attribute__((__format__ (printf, 1, 0)));
+void fatal(const char *) __dead;
+void fatalx(const char *) __dead;
const char *if_type_name(enum iface_type);
const char *nbr_state_name(int);