minix/lib
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 libfp: use ${CC} instead of cc, reported by Antoine Leca. 2010-07-22 22:24:08 +00:00
csu rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
libarchive Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libaudiodriver fixed clang warnings in drivers/ 2011-06-09 16:57:51 +02:00
libbdev libbdev: initial version 2011-11-09 14:43:25 +01:00
libbz2 Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
libc Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libcrypt don't keep minix-port.patch files in repo 2011-08-10 13:38:12 +00:00
libcurses import elf-only -lcurses 2011-07-25 11:08:17 +02:00
libddekit Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libdevman Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libdriver ahci/libdriver: multithreading support 2011-11-04 09:37:53 +00:00
libedit fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
libelf Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
libend Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libexec Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
libfetch Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libhgfs Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libl Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
liblwip Cleanup servers to make GCC/Clang a little happier 2011-09-08 13:57:03 +00:00
libm Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libminc Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libminixfs Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libminixutil rename -lutil to -lminixutil 2011-08-01 14:32:14 +02:00
libmthread Clean up mthread 2011-07-27 09:30:26 +00:00
libnetdriver Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libsys Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libterminfo don't keep minix-port.patch files in repo 2011-08-10 13:38:12 +00:00
libtimers Replace NULL macro defs with null.h include 2010-07-22 10:03:31 +00:00
libusb Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libutil Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libvassert Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libvtreefs Tell VFS how many requests an FS can handle concurrently 2011-08-26 12:47:43 +00:00
libz Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
nbsd_libasyn Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
nbsd_libc Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
nbsd_libcompat_minix Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
nbsd_libm Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
nbsd_libminlib Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
ack_build.sh changes for detecting and building for clang/binutils elf 2011-06-07 16:49:52 +02:00
elf_build.sh Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
Makefile libbdev: initial version 2011-11-09 14:43:25 +01:00
Makefile.inc minix.ack.mk: use CPPFLAGS for ACK asm files 2011-08-05 14:16:48 +02:00
README Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00

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