minix/lib/libc
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
..
ack Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
ansi Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
arch/i386 introduce option to time assert()s 2011-06-24 16:00:42 +02:00
asyn Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
db Move MIN() and MAX() macros to sys/params.h 2010-08-21 13:10:41 +00:00
gnu Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
ip Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
math some extra math functions from netbsd for netpbm. 2011-01-30 23:40:51 +00:00
other Increase gid_t and uid_t to 32 bits 2011-09-05 13:56:14 +00:00
posix Increase gid_t and uid_t to 32 bits 2011-09-05 13:56:14 +00:00
regex fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
stdio <ansi.h> -> <minix/ansi.h> 2011-01-28 11:35:02 +00:00
stdtime fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
syscall rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
sysvipc Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
wchar Add some support for wchar_t. 2010-04-19 15:20:24 +00:00
Makefile For GCC/clang, don't build in ACK int64 routines 2010-11-19 12:36:44 +00:00
Makefile.inc Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00