minix/lib/libutil
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
..
compat update/fix manpage support 2011-09-28 15:24:15 +00:00
disklabel_dkcksum.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
disklabel_dkcksum.c update/fix manpage support 2011-09-28 15:24:15 +00:00
disklabel_scan.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
disklabel_scan.c update/fix manpage support 2011-09-28 15:24:15 +00:00
efun.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
efun.c update/fix manpage support 2011-09-28 15:24:15 +00:00
getbootfile.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
getbootfile.c update/fix manpage support 2011-09-28 15:24:15 +00:00
getlabelsector.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
getlabelsector.c update/fix manpage support 2011-09-28 15:24:15 +00:00
getmaxpartitions.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
getmaxpartitions.c update/fix manpage support 2011-09-28 15:24:15 +00:00
getmntopts.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
getmntopts.c update/fix manpage support 2011-09-28 15:24:15 +00:00
getrawpartition.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
getrawpartition.c update/fix manpage support 2011-09-28 15:24:15 +00:00
if_media.c update/fix manpage support 2011-09-28 15:24:15 +00:00
login.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
login.c update/fix manpage support 2011-09-28 15:24:15 +00:00
login_cap.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
login_cap.c update/fix manpage support 2011-09-28 15:24:15 +00:00
login_tty.c update/fix manpage support 2011-09-28 15:24:15 +00:00
loginx.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
loginx.c update/fix manpage support 2011-09-28 15:24:15 +00:00
logout.c update/fix manpage support 2011-09-28 15:24:15 +00:00
logoutx.c update/fix manpage support 2011-09-28 15:24:15 +00:00
logwtmp.c update/fix manpage support 2011-09-28 15:24:15 +00:00
logwtmpx.c update/fix manpage support 2011-09-28 15:24:15 +00:00
Makefile update/fix manpage support 2011-09-28 15:24:15 +00:00
opendisk.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
opendisk.c update/fix manpage support 2011-09-28 15:24:15 +00:00
openpty.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
parsedate.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
parsedate.y update/fix manpage support 2011-09-28 15:24:15 +00:00
passwd.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
pidfile.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
pidfile.c update/fix manpage support 2011-09-28 15:24:15 +00:00
pidlock.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
pidlock.c update/fix manpage support 2011-09-28 15:24:15 +00:00
pty.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
pw_getconf.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
pw_init.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
pw_lock.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
raise_default_signal.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
raise_default_signal.c update/fix manpage support 2011-09-28 15:24:15 +00:00
secure_path.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
secure_path.c update/fix manpage support 2011-09-28 15:24:15 +00:00
shlib_version update/fix manpage support 2011-09-28 15:24:15 +00:00
snprintb.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
sockaddr_snprintf.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
sockaddr_snprintf.c update/fix manpage support 2011-09-28 15:24:15 +00:00
stat_flags.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
stat_flags.c update/fix manpage support 2011-09-28 15:24:15 +00:00
ttyaction.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
ttyaction.c update/fix manpage support 2011-09-28 15:24:15 +00:00
ttymsg.3 update/fix manpage support 2011-09-28 15:24:15 +00:00
ttymsg.c update/fix manpage support 2011-09-28 15:24:15 +00:00
util.3 update/fix manpage support 2011-09-28 15:24:15 +00:00