This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
posix/unistd.h patch
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: posix/unistd.h patch
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Sat, 10 Jun 2000 13:05:51 +1000 (EST)
Without this patch, I get a parse error building gcc for hppa due to
intptr_t being undefined.
2000-06-10 Alan Modra <alan@linuxcare.com.au>
* posix/unistd.h (sbrk, __sbrk): Use __intptr_t, not intptr_t.
--- posix/unistd.h.orig Thu May 18 19:11:00 2000
+++ posix/unistd.h Sat Jun 10 12:29:30 2000
@@ -875,8 +875,8 @@
If successful, returns the address the previous end of data space
(i.e. the beginning of the new space, if DELTA > 0);
returns (void *) -1 for errors (with errno set). */
-extern void *__sbrk (intptr_t __delta) __THROW;
-extern void *sbrk (intptr_t __delta) __THROW;
+extern void *__sbrk (__intptr_t __delta) __THROW;
+extern void *sbrk (__intptr_t __delta) __THROW;
#endif
--
Linuxcare. Support for the Revolution.