minix/share/mk
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
..
bsd.dep.mk Import NetBSD mkdep 2011-07-22 17:28:27 +02:00
bsd.doc.mk import elf-only -lcurses 2011-07-25 11:08:17 +02:00
bsd.files.mk mk scripts: add flag for compiling with nbsd libc. 2011-03-03 16:41:19 +00:00
bsd.inc.mk share/mk: use original stat -qf 2011-07-19 18:38:06 +02:00
bsd.init.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.kinc.mk share/mk: use original stat -qf 2011-07-19 18:38:06 +02:00
bsd.klinks.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.lib.mk Import NetBSD mkdep 2011-07-22 17:28:27 +02:00
bsd.links.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.man.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.obj.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.own.mk update/fix manpage support 2011-09-28 15:24:15 +00:00
bsd.prog.mk bsd.prog.mk: skip 'install -S' rule for GCC/clang 2011-08-08 14:18:25 +02:00
bsd.subdir.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.sys.mk Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
Makefile mk: single mk fragment for new libc 2011-07-27 18:23:36 +02:00
minix.ack.mk minix.ack.mk: use CPPFLAGS for ACK asm files 2011-08-05 14:16:48 +02:00
minix.ackdep.mk Import NetBSD mkdep 2011-07-22 17:28:27 +02:00
minix.bootprog.mk Fix GCC image building 2011-07-09 15:04:42 +02:00
minix.gcc.mk Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
minix.gcov.mk Import NetBSD mkdep 2011-07-22 17:28:27 +02:00
minix.newlibc.mk update/fix manpage support 2011-09-28 15:24:15 +00:00
minix.service.mk Move minimal libc from libsys into separate lib. 2011-07-09 22:32:38 +02:00
pkgsrchooks.mk Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
sys.mk Cleaner MKSYSDEBUG option 2011-08-18 15:21:29 +02:00