Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sup/source - mark logerr(), quit() and done() as __...



details:   https://anonhg.NetBSD.org/src/rev/82d4a2053002
branches:  trunk
changeset: 838871:82d4a2053002
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 03 12:13:37 2019 +0000

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

diffstat:

 usr.sbin/sup/source/supextern.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 468fe31663c5 -r 82d4a2053002 usr.sbin/sup/source/supextern.h
--- a/usr.sbin/sup/source/supextern.h   Sun Feb 03 12:11:11 2019 +0000
+++ b/usr.sbin/sup/source/supextern.h   Sun Feb 03 12:13:37 2019 +0000
@@ -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 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 @@
 
 /* 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 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)));
 



Home | Main Index | Thread Index | Old Index