diff options
author | dillon <dillon@FreeBSD.org> | 2002-07-11 02:51:02 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2002-07-11 02:51:02 +0000 |
commit | af8ddb129a4bbe666a284d2c9cf34784d4f8236e (patch) | |
tree | 15c866a6de8e112758486888162a2aa070d9aa3b /sys | |
parent | 9d3ad1a89fc2d046c63c29aa65285aa17fc17fe7 (diff) | |
download | FreeBSD-src-af8ddb129a4bbe666a284d2c9cf34784d4f8236e.zip FreeBSD-src-af8ddb129a4bbe666a284d2c9cf34784d4f8236e.tar.gz |
Disable format checking for NULL-passing prototypes (really only err*(),
warn*(), and setproctitle() functions) to buildworld work again. This
can be cleaned up later if/when a new GCC supports the feature (but personally
I think it's a waste of time to keep mod'ing imported GCC sources for this
since only three procedures are involved).
Suggested by: peter
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/cdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 32133f3..d5d665a 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -175,7 +175,7 @@ #endif /* Compiler-dependent macros that rely on FreeBSD-specific extensions. */ -#if __FreeBSD_cc_version >= 300001 +#if __FreeBSD_cc_version >= 300001 && __FreeBSD_cc_version < 500003 #define __printf0like(fmtarg, firstvararg) \ __attribute__((__format__ (__printf0__, fmtarg, firstvararg))) #else |