summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/log.h
diff options
context:
space:
mode:
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)));