]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Moved #include of <sys/cdefs.h> earlier so that __signed in
authorBruce Evans <bde@FreeBSD.org>
Sun, 13 Apr 1997 15:27:12 +0000 (15:27 +0000)
committerBruce Evans <bde@FreeBSD.org>
Sun, 13 Apr 1997 15:27:12 +0000 (15:27 +0000)
commit61d856397ca50c0eedd0bab9f82f40a0b42c3c32
treedd262693bb20b28cf92ecfeef5a586c7504c0dba
parent3169e0f1390e469e5d7c6e3a3256c2a4c16c1bbc
Moved #include of <sys/cdefs.h> earlier so that __signed in
<machine/types.h> gets redefined in the non-GNU and non-ANSI cases.
Since this hasn't caused problems, there must be no one actually
benefitting from the obfuscations supported by <sys/cdefs.h>.
`make CC="cc -traditional"' in /usr/src/bin shows the same.  Almost
everything is broken in essentially the same way - `const' is used
in strings before <sys/cdefs.h> is included, so `const' is not
#defined away until after it is used.

Fixed some style bugs.
sys/sys/types.h