minix/lib/nbsd_libminlib
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
..
i386 Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
pkgconfig Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
adddma.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
deldma.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
dhcp_gettag.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
dhcp_settag.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
fslib.c Increase gid_t and uid_t to 32 bits 2011-09-05 13:56:14 +00:00
fsversion.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
gcov.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
gcov_flush.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
getdma.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
getngid.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
getnpid.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
getnprocnr.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
getnucred.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
getnuid.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
getprocnr.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
itoa.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
Makefile Build gcov code only if MKCOVERAGE is yes 2011-08-09 10:39:33 +02:00
mapdriver.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
paramvalue.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
servxcheck.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
svrctl.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
tools.h Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
u64util.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
vm_dmacalls.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
vm_memctl.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
vm_query_exit.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
vm_set_priv.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
vm_update.c Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00