From ab79ee6808a768bc72cd1158f93ba8a50a0615e5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 4 Oct 2001 10:08:51 +0000 Subject: Yet more minor cleanups --- libc/sysdeps/linux/i386/brk.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/i386') diff --git a/libc/sysdeps/linux/i386/brk.c b/libc/sysdeps/linux/i386/brk.c index eca0e8326..9ae565631 100644 --- a/libc/sysdeps/linux/i386/brk.c +++ b/libc/sysdeps/linux/i386/brk.c @@ -21,13 +21,16 @@ #include #include +#ifndef __ptrvalue +#define __ptrvalue +#endif /* This must be initialized data because commons can't have aliases. */ void *___brk_addr = 0; int brk (void *addr) { - void *__unbounded newbrk, *__unbounded scratch; + void *newbrk, *scratch; asm ("movl %%ebx, %1\n" /* Save %ebx in scratch register. */ "movl %3, %%ebx\n" /* Put ADDR in %ebx to be syscall arg. */ -- cgit v1.2.3