[Glibc-bsd-commits] r4426 - trunk/glibc-ports/kfreebsd
Petr Salinger
ps-guest at alioth.debian.org
Fri May 10 04:43:46 UTC 2013
Author: ps-guest
Date: 2013-05-10 04:43:44 +0000 (Fri, 10 May 2013)
New Revision: 4426
Modified:
trunk/glibc-ports/kfreebsd/brk.c
Log:
brk.c: do not reference void _end;
Modified: trunk/glibc-ports/kfreebsd/brk.c
===================================================================
--- trunk/glibc-ports/kfreebsd/brk.c 2013-05-10 03:01:13 UTC (rev 4425)
+++ trunk/glibc-ports/kfreebsd/brk.c 2013-05-10 04:43:44 UTC (rev 4426)
@@ -24,10 +24,10 @@
extern int __syscall_obreak (void *addr);
libc_hidden_proto (__syscall_obreak)
-extern void _end;
+extern char _end[];
/* sbrk.c expects this. */
-void *__curbrk = &_end;
+void *__curbrk = _end;
/* Set the end of the process's data space to ADDR.
Return 0 if successful, -1 if not. */
More information about the Glibc-bsd-commits
mailing list