freebsd-nq/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 There is a problem in that one cannot use ctype.h at the same time as parts 2000-02-08 07:43:26 +00:00
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 Cleanup of bitstring.h: 2000-10-09 12:34:51 +00:00
complex.h Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostly 2001-06-13 15:16:30 +00:00
ctype.h There is a problem in that one cannot use ctype.h at the same time as parts 2000-02-08 07:43:26 +00:00
db.h
dirent.h Add a lock to DIR to make telldir and friends MT-safe. 2001-01-24 13:01:47 +00:00
disktab.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
dlfcn.h Add a definition for RTLD_DEFAULT. 2000-09-19 04:24:50 +00:00
elf-hints.h * include/elf.h has been repo copied to include/elf-hints.h, and it no 2001-05-02 23:56:21 +00:00
elf.h Update copyright. 2001-06-09 05:22:31 +00:00
err.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
fnmatch.h Add FNM_FILE_NAME - GNU alias to FNM_PATHNAME 1999-11-21 17:32:45 +00:00
fstab.h
fts.h Complete prototype for fts_compar. 2001-06-13 14:59:57 +00:00
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 Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
histedit.h Merge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc. 2001-10-01 21:07:33 +00:00
ieeefp.h Finish moving all IEEE fp types to be the same on all arch's. 2000-05-10 19:41:40 +00:00
ifaddrs.h add getifaddrs(3) from bsdi. this is a magic function which lets you grab 2000-07-05 02:13:17 +00:00
inttypes.h Add support for C++. 2002-01-06 19:04:12 +00:00
iso646.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
langinfo.h * style(9)'ify 2001-12-12 15:41:08 +00:00
libgen.h Import XPG4-compliant basename(3) and dirname(3) from OpenBSD. 2000-08-31 15:56:15 +00:00
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 Use TAILQ instead of CIRCLEQ. 2000-12-29 20:25:01 +00:00
ndbm.h Add missing declarations. 1999-06-21 17:07:20 +00:00
netconfig.h const'ify 2001-03-27 09:43:09 +00:00
netdb.h Fixed order of includes. <sys/cdefs.h> must be included before 2001-10-04 10:34:30 +00:00
nl_types.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
nlist.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
nsswitch.h Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
objformat.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
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 Use the correct type for uid and gid in struct passwd. Document it. 1999-01-18 02:14:20 +00:00
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 Implement EDNS0 support, as EDNS0 support will be made mandatory for 2001-06-10 20:25:24 +00:00
rune.h
runetype.h
search.h fix spelling errors. 2000-07-07 16:52:24 +00:00
setjmp.h
sgtty.h
signal.h Remove the inline versions of sigaddset, sigdelset, sigemptyset, 1999-10-02 19:33:23 +00:00
stab.h
stdbool.h Remove comment, which didn't even help anyway. 2001-08-13 13:29:29 +00:00
stddef.h Back out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints. 2001-05-24 19:29:15 +00:00
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 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
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 Declare strunvisx(). 2001-02-06 01:15:32 +00:00
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