minix/lib/nbsd_libc/net
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
..
minix Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
base64.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
byteorder.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ethers.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ethers.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
gai_strerror.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getaddrinfo.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getaddrinfo.c Port NetBSD libc functions to Minix. 2011-02-15 12:19:40 +00:00
gethnamaddr.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
gethostbyname.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getifaddrs.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getifaddrs.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getnameinfo.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getnameinfo.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
getnetent.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getnetent.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getnetnamadr.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getpeereid.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getpeereid.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getprotobyname.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getprotobyname_r.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getprotobynumber.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getprotobynumber_r.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getprotoent.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getprotoent.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getprotoent_r.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getservbyname.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getservbyname_r.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getservbyport.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getservbyport_r.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getservent.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getservent.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getservent_r.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
hesiod.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
hesiod.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
if_indextoname.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
if_indextoname.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
if_nameindex.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
if_nametoindex.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
inet6_opt_init.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
inet6_option_space.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
inet6_rth_space.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
inet6_rthdr_space.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ip6opt.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
iso_addr.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
iso_addr.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
linkaddr.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
linkaddr.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
Lint_htonl.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
Lint_htons.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
Lint_ntohl.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
Lint_ntohs.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
Makefile.inc Clean up NetBSD libc Minix port. 2011-02-15 16:31:16 +00:00
nsdispatch.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nsdispatch.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nslexer.l Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nsparser.y Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
protoent.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
rcmd.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
rcmd.c [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
recv.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
resolver.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
rthdr.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
send.c Port NetBSD libc functions to Minix. 2011-02-15 12:19:40 +00:00
servent.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sethostent.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sockatmark.3 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sockatmark.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
vars6.c Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00