Module Name: src Committed By: mrg Date: Sun Feb 3 12:13:37 UTC 2019
Modified Files: src/usr.sbin/sup/source: supextern.h Log Message: - mark logerr(), quit() and done() as __dead. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sup/source/supextern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/sup/source/supextern.h diff -u src/usr.sbin/sup/source/supextern.h:1.24 src/usr.sbin/sup/source/supextern.h:1.25 --- src/usr.sbin/sup/source/supextern.h:1.24 Fri Mar 8 20:56:44 2013 +++ src/usr.sbin/sup/source/supextern.h Sun Feb 3 12:13:37 2019 @@ -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)));