Stop caring about GCC versions between 2.5 and 2.7, they are
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 4 Feb 2005 22:28:23 +0000 (22:28 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 4 Feb 2005 22:28:23 +0000 (22:28 +0000)
commit3d28a5332f9b5f41e146c4327b5b46676ba0a489
tree588840e068cfee5ee59c46139ac79e65d402668c
parent7034e6b957be96bdfbdfb5673337e27f4741faea
Stop caring about GCC versions between 2.5 and 2.7, they are
historic artefacts.
Remove a double define of __func__ from the !LINT case.
Define __func__ to NULL for GCC before 2.7 and non ISO C99 compilers.
Since all GCC versions above 2.95 support __restrict, include them
in the check too. Remove the weak defines for !__STDC__, we don't
support such a setting.
If _C99_SOURCE is set, don't include POSIX / BSD / XSI extensions.

Partly-submitted-by: Andreas Hauser <andy@splashground.de>
sys/sys/cdefs.h