summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-11 03:58:24 +0000
committeralfred <alfred@FreeBSD.org>2002-05-11 03:58:24 +0000
commitc15786f4891d1a26386541b8dd8843fa3513248f (patch)
treedcc4ffb815a4913fe895b9e5ca63edc45a43ebb6 /sys
parentf42c92628a40836fccf677a2929c9f90f2650753 (diff)
downloadFreeBSD-src-c15786f4891d1a26386541b8dd8843fa3513248f.zip
FreeBSD-src-c15786f4891d1a26386541b8dd8843fa3513248f.tar.gz
As a temporary bandaid disable '__printf0like' unconditionally, it
doesn't seem to work under gcc 3.1 yet. We are now 'WERROR' safe again.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/cdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index c98a094..59630d8 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -169,7 +169,7 @@
#endif
/* Compiler-dependent macros that rely on FreeBSD-specific extensions. */
-#if __FreeBSD_cc_version >= 300001
+#if 0 && __FreeBSD_cc_version >= 300001
#define __printf0like(fmtarg, firstvararg) \
__attribute__((__format__ (__printf0__, fmtarg, firstvararg)))
#else
OpenPOWER on IntegriCloud