HomeFreeBSD

Moved #include of <sys/cdefs.h> earlier so that __signed in

Description

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.

Details

Provenance
Bruce Evans <bde@FreeBSD.org>Authored on Apr 13 1997, 3:27 PM
Parents
rG3169e0f1390e: Use isdialuptty() rather than hard-coded heuristic.
Branches
Unknown
Tags
Unknown

Event Timeline