Date: Thu, 24 Jan 2002 14:17:38 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: David Malone <dwmalone@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include unistd.h src/lib/libc/sys brk.2 src/libexec/rtld-aout rtld.c src/libexec/rtld-elf malloc.c Message-ID: <20020124141737.D38822@sunbay.com> In-Reply-To: <200201241211.g0OCBVq62184@freefall.freebsd.org> References: <200201241211.g0OCBVq62184@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Cool, thanks! On Thu, Jan 24, 2002 at 04:11:31AM -0800, David Malone wrote: > dwmalone 2002/01/24 04:11:31 PST > > Modified files: > include unistd.h > lib/libc/sys brk.2 > libexec/rtld-aout rtld.c > libexec/rtld-elf malloc.c > Log: > 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 > > Revision Changes Path > 1.48 +2 -2 src/include/unistd.h > 1.23 +8 -16 src/lib/libc/sys/brk.2 > 1.61 +2 -2 src/libexec/rtld-aout/rtld.c > 1.5 +1 -2 src/libexec/rtld-elf/malloc.c -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020124141737.D38822>