Module Name:    src
Committed By:   christos
Date:           Fri May  4 18:07:23 UTC 2018

Modified Files:
        src/libexec/httpd: bozohttpd.h

Log Message:
fix the rest of the compilers.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/libexec/httpd/bozohttpd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/httpd/bozohttpd.h
diff -u src/libexec/httpd/bozohttpd.h:1.48 src/libexec/httpd/bozohttpd.h:1.49
--- src/libexec/httpd/bozohttpd.h:1.48	Fri May  4 14:06:44 2018
+++ src/libexec/httpd/bozohttpd.h	Fri May  4 14:07:23 2018
@@ -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 @@ typedef struct bozoprefs_t {
 #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

Reply via email to