Source-Changes-HG archive

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

[src/trunk]: src/libexec/httpd fix the rest of the compilers.



details:   https://anonhg.NetBSD.org/src/rev/9f9ea154bb2e
branches:  trunk
changeset: 322494:9f9ea154bb2e
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 04 18:07:23 2018 +0000

description:
fix the rest of the compilers.

diffstat:

 libexec/httpd/bozohttpd.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9a7d0741642c -r 9f9ea154bb2e libexec/httpd/bozohttpd.h
--- a/libexec/httpd/bozohttpd.h Fri May 04 18:06:44 2018 +0000
+++ b/libexec/httpd/bozohttpd.h Fri May 04 18:07:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bozohttpd.h,v 1.48 2018/05/04 18:06:44 christos Exp $  */
+/*     $NetBSD: bozohttpd.h,v 1.49 2018/05/04 18:07:23 christos Exp $  */
 
 /*     $eterna: bozohttpd.h,v 1.39 2011/11/18 09:21:15 mrg Exp $       */
 
@@ -210,6 +210,9 @@
 #if (defined(__GNUC__) && __GNUC__ >= 3) || defined(__lint__)
 #define BOZO_PRINTFLIKE(x,y) __attribute__((__format__(__printf__, x,y)))
 #define BOZO_DEAD __attribute__((__noreturn__))
+#else
+#define BOZO_PRINTFLIKE(x,y)
+#define BOZO_DEAD
 #endif
 
 #ifndef NO_DEBUG



Home | Main Index | Thread Index | Old Index