summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/log.h
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-02-07 21:10:34 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-02-07 21:10:34 +0000
commit033a069296f3301ffd9fff1d4480f73e2c05e2e2 (patch)
tree97a52188c9f05f7a480387bc92658e1af0784bb5 /usr.sbin/rtadvd/log.h
parent99fe317bcd25057823e74d73ca9082b222e5aad1 (diff)
Mark a few others functions as __dead; ok bluhm@
Diffstat (limited to 'usr.sbin/rtadvd/log.h')
-rw-r--r--usr.sbin/rtadvd/log.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rtadvd/log.h b/usr.sbin/rtadvd/log.h
index aeb2c5bc6b5..0b005936327 100644
--- a/usr.sbin/rtadvd/log.h
+++ b/usr.sbin/rtadvd/log.h
@@ -19,10 +19,10 @@
void log_init(int);
void logit(int pri, const char *fmt, ...);
-void fatal(const char*);
+__dead void fatal(const char*);
+__dead void fatalx(const char*);
+
void log_warn(const char*, ...) __attribute__((format(printf, 1, 2)));
+void log_warnx(const char*, ...) __attribute__((format(printf, 1, 2)));
void log_info(const char*, ...) __attribute__((format(printf, 1, 2)));
void log_debug(const char*, ...) __attribute__((format(printf, 1, 2)));
-
-void fatalx(const char*);
-void log_warnx(const char*, ...) __attribute__((format(printf, 1, 2)));