diff options
author | avatar <avatar@FreeBSD.org> | 2011-07-10 07:25:34 +0000 |
---|---|---|
committer | avatar <avatar@FreeBSD.org> | 2011-07-10 07:25:34 +0000 |
commit | de81e76acbf0a83607cad211431cd0cc9538007a (patch) | |
tree | 88960d5ccb777573dddd5c69d68bad3af01c8997 /tools | |
parent | db822870d75a60b6d4bff7a2f77202322076e66d (diff) | |
download | FreeBSD-src-de81e76acbf0a83607cad211431cd0cc9538007a.zip FreeBSD-src-de81e76acbf0a83607cad211431cd0cc9538007a.tar.gz |
- Removing some unneeded definitions of NULL(cruft related to 1970's C).
In C90, NULL is guaranteed to be declared in <stddef.h> and also in
<string.h>. Though the correct way to define NULL in FreeBSD is to
include <sys/_null.h>, other parts of libstand still require <string.h>
to build; therefore, we keep <string.h> in stand.h and add a note about
this;
- Removing no longer used 'Prototype' definition. Quote from bde@:
'Cruft related to getting incomplete struct declarations within
prototypes forward-declared before the structs. It doesn't mean
"prototype" but only part of a prototype-related hack. No longer
used.'
- Replacing iaddr_t with uintptr_t;
- Removing use of long double to determine alignment. Use a fixed 16 byte
alignment instead;
Reviewed by: bde
Obtained from: DragonFlyBSD (partially)
MFC after: 1 month
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions