freebsd-skq/libexec/rtld-aout
dwmalone 33776f88dc 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
..
i386 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dynamic.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Makefile Fixed some of style bugs. 2001-09-12 10:04:42 +00:00
md-prologue.c
rtld.1aout mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:49:54 +00:00
rtld.c Change brk's prototype from char *brk(const char *) to int brk(const void *) 2002-01-24 12:11:31 +00:00
shlib.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shlib.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
support.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
support.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00