Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 05/05/2003 13:56:15
Module Name:	src
Committed By:	bjh21
Date:		Mon May  5 13:56:15 UTC 2003

Modified Files:
	src/include/arpa: inet.h
	src/lib/libc/net: inet_lnaof.c inet_makeaddr.c inet_netof.c
	    inet_network.c inet_pton.c

Log Message:
Fix the signatures of inet_addr(), inet_lnaof(), inet_makeaddr(), inet_netof(),
and inet_network() to match XNS and (where applicable) POSIX.  This is largely
just the replacement of unsigned long with in_addr_t.

This constitutes a small ABI change on sh5, but scw (sh5 portmaster) thinks
that both the users of that port will be able to cope.  kleink claims the
change is ABI-neutral on other LP64 ports, and it's a no-op on ILP32 ports.
Hence, I'm doing it this way and avoiding the whole __RENAME dance.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/include/arpa/inet.h
cvs rdiff -r1.7 -r1.8 src/lib/libc/net/inet_lnaof.c \
    src/lib/libc/net/inet_netof.c
cvs rdiff -r1.10 -r1.11 src/lib/libc/net/inet_makeaddr.c
cvs rdiff -r1.14 -r1.15 src/lib/libc/net/inet_network.c
cvs rdiff -r1.17 -r1.18 src/lib/libc/net/inet_pton.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.