1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/lib/libstand
Tai-hwa Liang f497fbf5e4 - 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
2011-07-10 07:25:34 +00:00
..
arm
i386
mips
powerpc
sparc64
__main.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
arp.c
assert.c
bcd.c
bootp.c
bootp.h
bootparam.c
bootparam.h
bswap.c Obtain bswap64() function implementation from 2011-06-10 01:13:15 +00:00
bzipfs.c
cd9660.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
close.c
closeall.c
dev.c
dosfs.c - Comment out unused variable. 2011-05-03 07:43:47 +00:00
dosfs.h
environment.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
ether.c
ext2fs.c
fstat.c
getopt.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
gets.c
globals.c
gzipfs.c
if_ether.h
in_cksum.c
inet_ntoa.c
ioctl.c
iodesc.h
libstand.3
lseek.c
Makefile Setting warnings without make universe considered harmful. Revert to WARNS=0 2011-06-16 18:00:27 +00:00
net.c In sendrecv function, change the receive timeout value between retries 2011-06-15 21:58:01 +00:00
net.h
netif.c
netif.h
nfs.c
nfsv2.h
nullfs.c
open.c
pager.c
printf.c
qdivrem.c
quad.h
random.c
rarp.c
read.c
readdir.c
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c
splitfs.c
stand.h - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
stat.c
strcasecmp.c
strdup.c
strerror.c
strtol.c
tftp.c Fixes to newer tftp code in libstand: 2011-06-24 03:50:54 +00:00
tftp.h
twiddle.c
udp.c Add #include <netinet/in_pcb.h> for missing forward declation of 2011-05-03 07:39:54 +00:00
ufs.c
write.c
zalloc_defs.h - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
zalloc_malloc.c - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
zalloc_mem.h - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
zalloc_protos.h - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
zalloc.c - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00