minix/common/include/minix
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
..
acpi.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
ansi.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
audio_fw.h fixed clang warnings in drivers/ 2011-06-09 16:57:51 +02:00
bdev.h libbdev: initial version 2011-11-09 14:43:25 +01:00
bitmap.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
callnr.h Miscellaneous legacy cleanup 2011-11-07 22:20:55 +01:00
com.h More cleanup of minix/com.h. 2011-11-11 13:53:29 +01:00
compiler.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
config.h Disable sprofile by default 2011-07-08 17:28:58 +02:00
const.h boot e820 memory detection fixes 2011-09-19 13:36:03 +00:00
cpufeature.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
crtso.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
debug.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
devio.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
devman.h Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
dmap.h Add DEV_CLONE_A dev type 2011-07-27 12:23:03 +00:00
driver_mt.h ahci/libdriver: multithreading support 2011-11-04 09:37:53 +00:00
driver.h ahci/libdriver: multithreading support 2011-11-04 09:37:53 +00:00
drivers.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
drvlib.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
ds.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
endpoint.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
fslib.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
gcov.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
hash.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
input.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
ioctl.h protect ioctl() with __BEGIN/__END_DECLS for C++ 2011-07-09 16:12:40 +02:00
ipc.h Enable sending a notification when sending of an asynchronous message was 2011-04-08 15:14:48 +00:00
ipcconst.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
keymap.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
libminixfs.h add -lminixfs with fs support routines 2011-09-08 16:52:13 +00:00
limits.h Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
minlib.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
mthread.h Clean up mthread 2011-07-27 09:30:26 +00:00
netdriver.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
optset.h Move optset.c into libsys; remove redundant copies 2011-11-07 16:16:08 +01:00
partition.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
portio.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
priv.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
procfs.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
profile.h profile.h: Don't hide structs and macros 2011-07-08 18:10:56 +02:00
queryparam.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
rs.h fix rs/service data structures (add devman_id) 2011-02-25 16:15:54 +00:00
safecopies.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
sched.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
sef.h Add MKLIVEUPDATE and MKSTATECTL 2011-09-02 16:57:22 +02:00
sound.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
spin.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
sys_config.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
sysinfo.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
syslib.h Split off sys_umap_remote from sys_umap 2011-06-10 14:28:20 +00:00
sysutil.h introduce sqrt_approx() in -lsys 2011-07-04 02:51:12 +02:00
timers.h Move shared headers in common/include 2011-02-06 22:59:02 +00:00
tty.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
type.h Remove legacy boot monitor vars 2011-09-16 20:10:47 +02:00
u64.h ahci/libdriver: multithreading support 2011-11-04 09:37:53 +00:00
usb_ch9.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
usb.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
vfsif.h add -lminixfs with fs support routines 2011-09-08 16:52:13 +00:00
vm.h vm/ipc: only report signals when it matters to ipc 2011-08-05 20:52:32 +00:00
vtreefs.h Move even more includes to common/include. 2011-03-03 16:39:02 +00:00