freebsd-dev/lib/libc
David Malone 98d1592458 Change brk's prototype from char *brk(const char *) to int brk(const void *)
and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t).

This makes us more consistant with NetBSD and standards which include
these functions. Bruce pointed out that ptrdiff_t would probably
have been better than intptr_t, but this doesn't match other
implimentations.

Also remove local declarations of sbrk and unnecessary casting.

PR:		32296
Tested by:	Harti Brandt <brandt@fokus.gmd.de>
MFC after:	1 month
2002-01-24 12:11:31 +00:00
..
alpha Add getcontext, setcontext, makecontext, and swapcontext. These 2002-01-10 02:40:59 +00:00
amd64 Fixed unsorting and splitting of SRCS in previous commit. 2002-01-11 17:10:35 +00:00
compat-43 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
db mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
gen The sixth argument to the NET_RT_IFLIST sysctl is actually 0 for 2002-01-23 12:48:08 +00:00
gmon We use HIDENAME(minbrk) on sparc64 too. 2001-12-29 06:35:19 +00:00
i386 Fixed unsorting and splitting of SRCS in previous commit. 2002-01-11 17:10:35 +00:00
ia64 Implement fpsetmask() and fpgetmask(). 2001-11-03 15:52:18 +00:00
include Fixed namespace pollution related to `err' in libc in the same way as for 2001-11-11 02:48:09 +00:00
locale Restore C99 standard conformance information, isblank() _is_ in final 2002-01-22 20:14:35 +00:00
mips
mipseb
mipsel
net yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
nls mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
posix1e Correct phrase 'get an ACL' to 'set an ACL'. 2002-01-07 22:46:14 +00:00
quad
regex Fix a typo I made in revision 1.5. 2002-01-22 12:38:43 +00:00
rpc clnt_bcast.c:420:33: warning: extra tokens at end of #endif directive 2001-12-15 00:07:37 +00:00
sparc64 Connect user trap code to the build. 2002-01-01 21:59:53 +00:00
stdio mdoc(7) police: 2002-01-09 14:01:22 +00:00
stdlib Minor typo fix: uquad_t -> u_quad_t. 2002-01-20 16:50:29 +00:00
stdtime I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
string Add a few cleanups from rev 1.1: 2002-01-15 17:52:21 +00:00
sys Change brk's prototype from char *brk(const char *) to int brk(const void *) 2002-01-24 12:11:31 +00:00
xdr Fixed various type errors in synopsis. 2001-10-03 16:53:59 +00:00
yp Fix some 32/64-bit bugs. IPv4 addresses are 32-bits, not longs. On the 2002-01-08 18:05:03 +00:00
Makefile Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-( 2001-08-13 21:48:44 +00:00
Makefile.inc