Module Name: src
Committed By: christos
Date: Fri May 4 18:06:44 UTC 2018
Modified Files:
src/libexec/httpd: bozohttpd.h
Log Message:
fix lint
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 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.47 src/libexec/httpd/bozohttpd.h:1.48
--- src/libexec/httpd/bozohttpd.h:1.47 Tue Jan 31 09:36:09 2017
+++ src/libexec/httpd/bozohttpd.h Fri May 4 14:06:44 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: bozohttpd.h,v 1.47 2017/01/31 14:36:09 mrg Exp $ */
+/* $NetBSD: bozohttpd.h,v 1.48 2018/05/04 18:06:44 christos Exp $ */
/* $eterna: bozohttpd.h,v 1.39 2011/11/18 09:21:15 mrg Exp $ */
@@ -207,7 +207,7 @@ typedef struct bozoprefs_t {
#define strornull(x) ((x) ? (x) : "<null>")
-#if defined(__GNUC__) && __GNUC__ >= 3
+#if (defined(__GNUC__) && __GNUC__ >= 3) || defined(__lint__)
#define BOZO_PRINTFLIKE(x,y) __attribute__((__format__(__printf__, x,y)))
#define BOZO_DEAD __attribute__((__noreturn__))
#endif