diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-11-16 17:08:05 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-11-16 17:08:05 +0000 |
commit | aa02ae250de10316b02a804898afb2834235c199 (patch) | |
tree | c56ce5fa3416b105f9e06bc52913343ab3dad339 /usr.sbin | |
parent | 1ca828578c856a6616ffd650ddde8feca7e903ba (diff) | |
download | FreeBSD-src-aa02ae250de10316b02a804898afb2834235c199.zip FreeBSD-src-aa02ae250de10316b02a804898afb2834235c199.tar.gz |
Replace __dead with __dead2.
FreeBSD lacks __dead.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ypldap/log.c | 4 | ||||
-rw-r--r-- | usr.sbin/ypldap/ypldap.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypldap/log.c b/usr.sbin/ypldap/log.c index aa2e8fa..54ce50b 100644 --- a/usr.sbin/ypldap/log.c +++ b/usr.sbin/ypldap/log.c @@ -31,8 +31,8 @@ void log_warn(const char *, ...); void log_warnx(const char *, ...); void log_info(const char *, ...); void log_debug(const char *, ...); -__dead void fatal(const char *); -__dead void fatalx(const char *); +__dead2 void fatal(const char *); +__dead2 void fatalx(const char *); int debug; diff --git a/usr.sbin/ypldap/ypldap.c b/usr.sbin/ypldap/ypldap.c index 23adfb5..ad7209a 100644 --- a/usr.sbin/ypldap/ypldap.c +++ b/usr.sbin/ypldap/ypldap.c @@ -40,7 +40,7 @@ #include "ypldap.h" -__dead void usage(void); +__dead2 void usage(void); int check_child(pid_t, const char *); void main_sig_handler(int, short, void *); void main_shutdown(void); |