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/0dc1105a0d0f
branches: trunk
changeset: 318763:0dc1105a0d0f
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 fc15c6f4a2e7 -r 0dc1105a0d0f 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