freebsd-dev/include
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
..
arpa Merge from master (crypto) telnet. WARNS fixes for alpha. 2001-12-03 12:41:19 +00:00
protocols Use fixed-size fields in the structure for the timed protocol. This 2001-11-20 06:36:09 +00:00
rpc Add compatibility functions for the AF_LOCAL RPC transport stuff 2001-10-04 21:03:17 +00:00
rpcsvc Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
_ctype.h
a.out.h
ar.h
assert.h Restore K&R prototype. Fix other style bugs. 2001-10-27 19:37:20 +00:00
bitstring.h
complex.h
ctype.h
db.h
dirent.h
disktab.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
dlfcn.h
elf-hints.h
elf.h
err.h
fnmatch.h
fstab.h
fts.h
glob.h Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatible 2001-07-29 00:52:37 +00:00
grp.h Use the proper type (gid_t) for (group)->gr_gid to be orthogonal 2002-01-22 17:32:53 +00:00
hesiod.h
histedit.h Merge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc. 2001-10-01 21:07:33 +00:00
ieeefp.h
ifaddrs.h
inttypes.h Add support for C++. 2002-01-06 19:04:12 +00:00
iso646.h
langinfo.h * style(9)'ify 2001-12-12 15:41:08 +00:00
libgen.h
limits.h After one too many PRs on the subject, bite the bullet and define IOV_MAX 2001-06-18 20:24:54 +00:00
link.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
locale.h
Makefile Fix bugs in the structure for rx_frame by making gap length one byte and 2001-12-31 22:01:44 +00:00
malloc.h Traditionally work in the -traditional case. 2001-11-07 23:14:31 +00:00
math.h Remove FreeBSD/vax and FreeBSD/tahoe support. 2001-11-03 08:38:54 +00:00
memory.h
monetary.h * style(9)'ify 2001-12-12 15:41:08 +00:00
mpool.h
ndbm.h
netconfig.h
netdb.h Fixed order of includes. <sys/cdefs.h> must be included before 2001-10-04 10:34:30 +00:00
nl_types.h
nlist.h
nsswitch.h
objformat.h
paths.h o Improve consistency of style by fixing tabs around _PATH_AUTHCONF. 2001-11-30 16:25:09 +00:00
pthread_np.h Make the name parameter const char *. 2001-08-11 05:16:00 +00:00
pthread.h Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used to 2001-07-20 04:23:11 +00:00
pwd.h
ranlib.h
readpassphrase.h Introduce readpassphrase(3), a superset of getpass(3). This 2001-11-20 15:15:42 +00:00
regex.h
regexp.h
resolv.h
rune.h
runetype.h
search.h
setjmp.h
sgtty.h
signal.h
stab.h
stdbool.h Remove comment, which didn't even help anyway. 2001-08-13 13:29:29 +00:00
stddef.h
stdio.h An extra #ifdef crept in with rev 1.38. 2001-12-05 04:16:33 +00:00
stdlib.h Fix support for K&R C. 2001-12-22 05:18:37 +00:00
strhash.h
string.h Fixed namespace pollution in previous commit. The C99 function 2001-11-28 19:02:01 +00:00
stringlist.h
strings.h
sysexits.h
tar.h
time.h I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
timers.h
ttyent.h
unistd.h Change brk's prototype from char *brk(const char *) to int brk(const void *) 2002-01-24 12:11:31 +00:00
utime.h
utmp.h ll_time and ut_time are int32_t on disk and have to remain that way 2001-10-27 20:40:54 +00:00
vis.h
wchar.h VCS ID fixup 2001-07-10 17:50:46 +00:00
wctype.h VCS ID fixup 2001-07-10 17:50:46 +00:00