- mark logerr(), quit() and done() as __dead.

This commit is contained in:
mrg 2019-02-03 12:13:37 +00:00
parent 07814c265d
commit 93dc402740

View File

@ -1,4 +1,4 @@
/* $NetBSD: supextern.h,v 1.24 2013/03/08 20:56:44 christos Exp $ */
/* $NetBSD: supextern.h,v 1.25 2019/02/03 12:13:37 mrg Exp $ */
struct stat;
@ -19,7 +19,7 @@ void logopen(char *);
void logquit(int, const char *, ...)
__attribute__((__format__(__printf__, 2, 3)));
void logerr(const char *, ...)
__attribute__((__format__(__printf__, 1, 2))) ;
__attribute__((__format__(__printf__, 1, 2)));
void loginfo(const char *, ...)
__attribute__((__format__(__printf__, 1, 2)));
#ifdef LIBWRAP
@ -43,7 +43,7 @@ void path(const char *, char *, char *);
/* quit.c */
void quit(int, const char *, ...)
__attribute__((__format__(__printf__, 2, 3)));
__attribute__((__format__(__printf__, 2, 3))) __dead;
/* read_line.c */
char *read_line(FILE *, size_t *, size_t *, const char[3], int);
@ -133,7 +133,7 @@ int recvreg(TREE *, int, struct stat *);
int copyfile(char *, char *);
void finishup(int);
void done(int, const char *, ...)
__attribute__((__format__(__printf__, 2, 3)));
__attribute__((__format__(__printf__, 2, 3))) __dead;
void goaway(const char *, ...)
__attribute__((__format__(__printf__, 1, 2)));