summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2018-05-04 18:06:44 +0000
committerchristos <christos@NetBSD.org>2018-05-04 18:06:44 +0000
commit9e508cda663f28f5d4bb2d5edf83418e224929ad (patch)
tree08281a1314991baa14abbe62b5ac4a8ec950186e
parent6fcb8f644c303a42438d3a35c905ff0a063c7464 (diff)
fix lint
-rw-r--r--libexec/httpd/bozohttpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/httpd/bozohttpd.h b/libexec/httpd/bozohttpd.h
index 53c4af5e405..69e231b4151 100644
--- a/libexec/httpd/bozohttpd.h
+++ b/libexec/httpd/bozohttpd.h
@@ -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