Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/httpd fix lint
details: https://anonhg.NetBSD.org/src/rev/9a7d0741642c
branches: trunk
changeset: 322493:9a7d0741642c
user: christos <christos%NetBSD.org@localhost>
date: Fri May 04 18:06:44 2018 +0000
description:
fix lint
diffstat:
libexec/httpd/bozohttpd.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1ff19bf801cf -r 9a7d0741642c libexec/httpd/bozohttpd.h
--- a/libexec/httpd/bozohttpd.h Fri May 04 17:20:34 2018 +0000
+++ b/libexec/httpd/bozohttpd.h Fri May 04 18:06:44 2018 +0000
@@ -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 @@
#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
Home |
Main Index |
Thread Index |
Old Index