a209c3ae12
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). |
||
---|---|---|
.. | ||
ack | ||
csu | ||
libarchive | ||
libaudiodriver | ||
libbdev | ||
libbz2 | ||
libc | ||
libcrypt | ||
libcurses | ||
libddekit | ||
libdevman | ||
libdriver | ||
libedit | ||
libelf | ||
libend | ||
libexec | ||
libfetch | ||
libhgfs | ||
libl | ||
liblwip | ||
libm | ||
libminc | ||
libminixfs | ||
libminixutil | ||
libmthread | ||
libnetdriver | ||
libsys | ||
libterminfo | ||
libtimers | ||
libusb | ||
libutil | ||
libvassert | ||
libvtreefs | ||
libz | ||
nbsd_libasyn | ||
nbsd_libc | ||
nbsd_libcompat_minix | ||
nbsd_libm | ||
nbsd_libminlib | ||
ack_build.sh | ||
elf_build.sh | ||
Makefile | ||
Makefile.inc | ||
README |
ack_build.sh - for ACK library building gnu_build.sh - for GNU library building ack_build.sh obj - create objdirs for gnu libraries ack_build.sh depend - find dependencies of ack libraries ack_build.sh all - compile ack libraries ack_build.sh install - compile and install ack libraries ack_build.sh clean - clean for ack libraries gnu_build.sh obj - create objdirs for gnu libraries gnu_build.sh depend - find dependencies of gnu libraries gnu_build.sh all - compile gnu libraries gnu_build.sh install - compile and install gnu libraries gnu_build.sh clean - clean for gnu libraries