1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +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 Use, in uncovered part, the END() macro in order to improve debugging. 2009-05-25 14:37:10 +00:00
mips Add the needed _setjmp.S for MIPS. 2008-08-27 17:58:51 +00:00
powerpc
sparc64 Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
__main.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
arp.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
assert.c Use panic() (which the environment is required to provide to libstand) to 2010-03-30 19:07:41 +00:00
bcd.c
bootp.c Fix minor issues in libstand. 2009-05-31 21:29:07 +00:00
bootp.h
bootparam.c
bootparam.h
bswap.c Obtain bswap64() function implementation from 2011-06-10 01:13:15 +00:00
bzipfs.c Remove two pieces of code (one disabled in revision 39665 and another derived 2010-03-18 00:27:17 +00:00
cd9660.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
close.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
closeall.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
dev.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
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 Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
ext2fs.c
fstat.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
getopt.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
gets.c Fix an off-by-one buffer overflow in ngets(). 2009-03-31 14:30:46 +00:00
globals.c
gzipfs.c Remove two pieces of code (one disabled in revision 39665 and another derived 2010-03-18 00:27:17 +00:00
if_ether.h This main goals of this project are: 2008-12-15 06:10:57 +00:00
in_cksum.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
inet_ntoa.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
ioctl.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
iodesc.h Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
libstand.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
lseek.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
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 Increase maximum network timeout from 20s to 120s. Given that an ETIMEDOUT 2010-09-28 01:30:49 +00:00
netif.c
netif.h
nfs.c Modify lib/libstand/nfs.c to use NFSv3 instead of NFSv2. 2010-09-02 01:00:13 +00:00
nfsv2.h Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
nullfs.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
open.c Initialize f_rabuf in the raw device case. A subsequent close() 2009-10-28 14:13:45 +00:00
pager.c
printf.c Use type-specific inline function imax() instead of deprecated macro MAX(). 2010-07-12 15:32:45 +00:00
qdivrem.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
quad.h Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
random.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
rarp.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
read.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
readdir.c
rpc.c ANSIfy, whitespace and comment adjustments, to simplify comparing these 2009-09-13 21:51:01 +00:00
rpc.h Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
rpcv2.h Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
saioctl.h Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
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 Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
strcasecmp.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
strdup.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
strerror.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
strtol.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
tftp.c Fixes to newer tftp code in libstand: 2011-06-24 03:50:54 +00:00
tftp.h
twiddle.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
udp.c Add #include <netinet/in_pcb.h> for missing forward declation of 2011-05-03 07:39:54 +00:00
ufs.c Eliminate __alpha__ leftover from libstand. 2008-09-04 10:05:44 +00:00
write.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
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