minix/lib/nbsd_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
..
arch Fix signal handling in NBSD libc. 2011-02-21 18:06:54 +00:00
atomic Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
cdb rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
citrus rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
compat Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
compat-43 Clean up NetBSD libc Minix port. 2011-02-15 16:31:16 +00:00
db rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
dlfcn Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
gdtoa Port NetBSD libc functions to Minix. 2011-02-15 12:19:40 +00:00
gen Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
gmon Clean up NetBSD libc Minix port. 2011-02-15 16:31:16 +00:00
hash Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
iconv Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
include add vfork to namespace.h 2011-07-22 14:07:04 +02:00
inet Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
isc Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
locale Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
md Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
misc Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
nameser Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
net Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
nls rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
pkgconfig Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
quad Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
regex Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
resolv Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
rpc Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
softfloat Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ssp Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
stdio New stat structure. 2011-07-12 16:39:55 +02:00
stdlib Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
string Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
sys Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sys-minix Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
termios Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
thread-stub Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
time make time functions pass PCTS test 2011-08-18 14:02:57 +00:00
uuid Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
yp Port NetBSD libc functions to Minix. 2011-02-15 12:19:40 +00:00
libcincludes.mk Set MACHINE_ARCH and MACHINE_CPU to in NBSD libc Makefile 2011-02-22 09:22:26 +00:00
Makefile add pkgsrc hooks for building pkgs w/nbsd_libc 2011-06-27 15:10:34 +02:00
Makefile.inc Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
minix-config.inc use minix malloc 2011-08-18 21:52:09 +00:00
shlib_version Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00