minix/nbsd_include/sys
Thomas Veerman a209c3ae12 Fix a ton of compiler warnings
This patch fixes most of current reasons to generate compiler warnings.
The changes consist of:
 - adding missing casts
 - hiding or unhiding function declarations
 - including headers where missing
 - add __UNCONST when assigning a const char * to a char *
 - adding missing return statements
 - changing some types from unsigned to signed, as the code seems to want
   signed ints
 - converting old-style function definitions to current style (i.e.,
   void func(param1, param2) short param1, param2; {...} to
   void func (short param1, short param2) {...})
 - making the compiler silent about signed vs unsigned comparisons. We
   have too many of those in the new libc to fix.

A number of bugs in the test set were fixed. These bugs were never
triggered with our old libc. Consequently, these tests are now forced to
link with the new libc or they will generate errors (in particular tests 43
and 55).

Most changes in NetBSD libc are limited to moving aroudn "#ifndef __minix"
or stuff related to Minix-specific things (code in sys-minix or gen/minix).
2011-11-14 10:07:49 +00:00
..
ansi.h Increase gid_t and uid_t to 32 bits 2011-09-05 13:56:14 +00:00
atomic.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
bitops.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
bswap.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
cdefs.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
cdefs_aout.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
cdefs_elf.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
ctype_bits.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ctype_inline.h Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
dirent.h get rid of leftover _DIRENT_NAME_LEN=61 2011-09-01 16:27:28 +00:00
endian.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
errno.h generate sys_errlist without holes 2011-07-13 23:42:07 +02:00
exec_elf.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
fcntl.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
fd_set.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
featuretest.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
file.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
float_ieee754.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
gcq.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
gmon.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
hash.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ieee754.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
inttypes.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ioc_net.h Backwards compatibility fixup for GCC/Clang 2011-09-06 12:36:16 +00:00
ioctl.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ipc.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
localedef.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
Makefile increase system-wide filename limit to 255 2011-08-17 16:00:01 +00:00
md4.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
md5.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
mman.h rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
mount.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
null.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
param.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
poll.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ptrace.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ptree.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
queue.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
rbtree.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
reboot.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
resource.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
rmd160.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
select.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
sem.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
sha1.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
sha2.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
shm.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
siginfo.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
signal.h [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
sigtypes.h Fix signal handling in NBSD libc. 2011-02-21 18:06:54 +00:00
socket.h Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
stat.h Increase gid_t and uid_t to 32 bits 2011-09-05 13:56:14 +00:00
statfs.h Fix stat, add fstat and other NBSD libc fixes. 2011-03-04 22:31:31 +00:00
statvfs.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
stdint.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
sysctl.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
syslimits.h Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
syslog.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
termios.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
time.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
times.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
tree.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ttycom.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ttydefaults.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
types.h Make dev_t 32-bits and provide backwards compatibility 2011-09-05 08:52:57 +00:00
ucontext.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ucred.h Increase gid_t and uid_t to 32 bits 2011-09-05 13:56:14 +00:00
uio.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
un.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
unistd.h remove info after #undef _POSIX_TIMERS 2011-08-04 18:11:16 +02:00
utsname.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
uuid.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
wait.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00