diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2008-12-22 14:30:05 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2008-12-22 14:30:05 +0000 |
commit | b0398202ca733169c8ba7b770cefee7e3109390f (patch) | |
tree | 6250e5b47f17cb8dbcae93066cf0558924309528 /sbin | |
parent | 50a7942c418595f8a6df8c986580e908b897ed93 (diff) |
mark log_fatal() and monitor_exit() as __dead, as they do not return.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/log.h | 4 | ||||
-rw-r--r-- | sbin/isakmpd/monitor.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/isakmpd/log.h b/sbin/isakmpd/log.h index 238399100c3..f01382edd25 100644 --- a/sbin/isakmpd/log.h +++ b/sbin/isakmpd/log.h @@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.24 2005/05/26 05:35:55 moritz Exp $ */ +/* $OpenBSD: log.h,v 1.25 2008/12/22 14:30:04 hshoexer Exp $ */ /* $EOM: log.h,v 1.19 2000/03/30 14:27:23 ho Exp $ */ /* @@ -83,7 +83,7 @@ extern void log_error(const char *,...) extern void log_errorx(const char *,...) __attribute__((__format__(__printf__, 1, 2))); extern void log_fatal(const char *,...) - __attribute__((__format__(__printf__, 1, 2))); + __attribute__((__format__(__printf__, 1, 2))) __dead; extern void log_fatalx(const char *,...) __attribute__((__format__(__printf__, 1, 2))); extern void log_print(const char *,...) diff --git a/sbin/isakmpd/monitor.h b/sbin/isakmpd/monitor.h index 1590b48d390..659f69d4eeb 100644 --- a/sbin/isakmpd/monitor.h +++ b/sbin/isakmpd/monitor.h @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.h,v 1.18 2006/03/20 16:43:22 hshoexer Exp $ */ +/* $OpenBSD: monitor.h,v 1.19 2008/12/22 14:30:04 hshoexer Exp $ */ /* * Copyright (c) 2003 Håkan Olsson. All rights reserved. @@ -61,6 +61,6 @@ int monitor_readdir(char *, size_t); void monitor_init_done(void); int monitor_pf_key_v2_open(void); -void monitor_exit(int); +void monitor_exit(int) __dead; #endif /* _MONITOR_H_ */ |