Replace __dead with __dead2.

FreeBSD lacks __dead.
This commit is contained in:
Craig Rodrigues 2015-11-16 17:08:05 +00:00
parent 66b5c05d95
commit 350ed59982
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);