diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2002-01-24 12:11:31 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2002-01-24 12:11:31 +0000 |
commit | 33776f88dc7a21766cda77b39d94c1b57a18ddc2 (patch) | |
tree | b31855c8a65a23be32e28129e6ef6b841a1500fe /lib/libc/gen/setprogname.c | |
parent | 3d5a7ba605c55d5a349fd48ea3ce463a951502fc (diff) | |
download | FreeBSD-src-33776f88dc7a21766cda77b39d94c1b57a18ddc2.zip FreeBSD-src-33776f88dc7a21766cda77b39d94c1b57a18ddc2.tar.gz |
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
Diffstat (limited to 'lib/libc/gen/setprogname.c')
0 files changed, 0 insertions, 0 deletions