minix/lib/nbsd_libc/sys-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
..
__getcwd.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
__getlogin.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
_exit.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
_mcontext.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
_ucontext.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
accept.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
access.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
bind.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
brk.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
chdir.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
chmod.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
chown.c NBSD libc: fix forgot weak_alias 2011-03-03 16:44:18 +00:00
chroot.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
close.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
compat.S compat.S: add shmctl(2) 2011-07-16 11:23:05 +02:00
connect.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
cprofile.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
dup.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
dup2.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
environ.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
execve.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
fchmod.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
fchown.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
fcntl.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
flock.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
fork.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
fpathconf.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
fstatfs.c Fix stat, add fstat and other NBSD libc fixes. 2011-03-04 22:31:31 +00:00
fstatvfs.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
fsync.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
ftruncate.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getdents.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getegid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
geteuid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getgid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getgroups.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
getitimer.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getpeername.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getpgrp.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getpid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getppid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getrlimit.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getsid.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
getsockname.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getsockopt.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
gettimeofday.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
getuid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
ioctl.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
issetugid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
kill.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
link.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
listen.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
loadname.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
lseek.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
lseek64.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
m_closefrom.c added missing m_closefrom.c 2011-08-03 12:51:28 +02:00
Makefile.inc getsid() implementation 2011-08-02 22:16:59 +02:00
minix_rs.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
MISSING_SYSCALLS Add vfork() system call 2011-07-22 10:55:30 +02:00
mkdir.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
mkfifo.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
mknod.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
mmap.c mmap rename fix for netbsd libc 2011-07-16 16:52:21 +02:00
mount.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
nanosleep.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
open.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
pathconf.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
pipe.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
poll.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
pread.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
priority.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
ptrace.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
pwrite.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
read.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
readlink.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
reboot.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
recvfrom.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
recvmsg.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
rename.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
rmdir.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sbrk.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
select.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sem.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sendmsg.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
sendto.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
setgid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
setgroups.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
setitimer.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
setsid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
setsockopt.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
settimeofday.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
setuid.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
shmat.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
shmctl.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
shmget.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
shutdown.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sigaction.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sigpending.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sigprocmask.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sigreturn.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sigsuspend.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
socket.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
socketpair.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sprofile.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
stat.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
statvfs.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
stime.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
symlink.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sync.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
syscall.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
sysuname.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
truncate.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
umask.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
unlink.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
vectorio.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00
vfork.c Add vfork() system call 2011-07-22 10:55:30 +02:00
write.c Add NBSDLibc Minix specific files. 2011-02-17 17:11:09 +00:00