No description
Find a file
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
benchmarks Fixed unixbench Run script 2010-10-25 08:32:14 +00:00
bin Increase gid_t and uid_t to 32 bits 2011-09-05 13:56:14 +00:00
boot boot e820 memory detection fixes 2011-09-19 13:36:03 +00:00
commands ps(1): remove outdated comment 2011-11-11 11:37:44 +01:00
common Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
docs update/fix manpage support 2011-09-28 15:24:15 +00:00
drivers Move optset.c into libsys; remove redundant copies 2011-11-07 16:16:08 +01:00
etc Change default pager to less(1) 2011-11-10 16:58:46 +01:00
include Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
kernel Miscellaneous legacy cleanup 2011-11-07 22:20:55 +01:00
lib Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libexec update/fix manpage support 2011-09-28 15:24:15 +00:00
man ps(1) man page: mem/kmem are no longer used 2011-11-11 11:34:50 +01:00
nbsd_include Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
servers More cleanup of minix/com.h. 2011-11-11 13:53:29 +01:00
share Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
test Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
tools Install servers in GCC/clang case 2011-11-02 18:46:06 +01:00
usr.bin Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
.gitignore update/fix manpage support 2011-09-28 15:24:15 +00:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile update/fix manpage support 2011-09-28 15:24:15 +00:00