opnsense-src/lib/libstand
Sean Bruno 5f48d8fc26 libstand's qdivrem.c assumes that sizeof(int) == sizeof(long), this is not
true on amd64 I'm not quite positive this is the "correct" solution for
this but it does seem to compile and shut up the spew of warnings when
compiling libstand for userboot.

Add two _Static_asserts() so that in the future somebody will get a compile
failure if an architecture develops that violates the assumptions of this
code. (strongly suggested by jmg)

Change commetns to indicate int types instead of long.  (noted by ian in
phabric review)

Phabric:	https://phabric.freebsd.org/D443
2014-07-24 19:06:15 +00:00
..
amd64 Move the 64-bit _setjmp to lib/libstand. 2012-12-21 15:15:35 +00:00
i386 Use, in uncovered part, the END() macro in order to improve debugging. 2009-05-25 14:37:10 +00:00
mips Merge @228176 from Perforce to fix a bug introduced in r249553: 2013-04-28 14:40:29 +00:00
powerpc Make libstand setjmp work for both 64- and 32-bit ABIs. 2014-02-07 14:24:36 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
bootp.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
bootp.h Add support to send the string 'PXEClient' as the Vendor class 2000-08-11 08:36:17 +00:00
bootparam.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
bootparam.h
bswap.c Consitently use "__LP64__". 2012-05-24 21:44:46 +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 Clear f_rabuf after freeing the memory it points to. This prevents a 2013-12-18 04:52:30 +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 Fix readdir for the root directory on a FAT32 file system. The root 2013-12-19 05:23:10 +00:00
dosfs.h Fix readdir for the root directory on a FAT32 file system. The root 2013-12-19 05:23:10 +00:00
environment.c Fix an inappropriate free of a non-dynamic value. While here, make the 2013-12-18 17:03:43 +00:00
ether.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
ext2fs.c libstand: Reset the seek pointer in ext2fs as done in UFS. 2013-06-09 01:19:22 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
gzipfs.c Remove two pieces of code (one disabled in revision 39665 and another derived 2010-03-18 00:27:17 +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 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
lseek.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
Makefile Remove ia64. 2014-07-07 00:27:09 +00:00
nandfs.c Make this WARNS=9 clean on i386 w/ clang. 2013-03-02 05:28:55 +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 Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
netif.h Cleanup warnings by adding missint prototypes, removing unneeded duplicate 2000-08-03 09:08:29 +00:00
nfs.c Move pos++ out of the complicated equation, introduced at r240780. 2013-07-01 17:23: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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
printf.c style(9) requires an empty line when function have no local variables. 2014-05-30 10:18:01 +00:00
qdivrem.c libstand's qdivrem.c assumes that sizeof(int) == sizeof(long), this is not 2014-07-24 19:06:15 +00:00
quad.h libstand's qdivrem.c assumes that sizeof(int) == sizeof(long), this is not 2014-07-24 19:06:15 +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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Set the malloc alignment to 64 bytes on platforms that use the U-Boot API 2014-02-05 22:53:58 +00:00
splitfs.c Remove unused variable. Shorten the path to WARNS=6 compliance. 2005-05-20 12:55:38 +00:00
stand.h Add support for snprintf() to libstand. 2014-05-30 09:43:32 +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
strtoul.c Fix includes for use in libstand. 2013-02-19 17:09:23 +00:00
tftp.c Unbreak zfsloader with LOADER_TFTP_SUPPORT on 2013-10-09 21:33:19 +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.c Set the malloc alignment to 64 bytes on platforms that use the U-Boot API 2014-02-05 22:53:58 +00:00
zalloc_defs.h Set the malloc alignment to 64 bytes on platforms that use the U-Boot API 2014-02-05 22:53:58 +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 Set the malloc alignment to 64 bytes on platforms that use the U-Boot API 2014-02-05 22:53:58 +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