From 350ed599829c9ef7e6e51a0636a76d113652ee02 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Mon, 16 Nov 2015 17:08:05 +0000 Subject: [PATCH] Replace __dead with __dead2. FreeBSD lacks __dead. --- usr.sbin/ypldap/log.c | 4 ++-- 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 aa2e8fa310d9..54ce50b62402 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 23adfb542e8b..ad7209a53383 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);