summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/brk.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-23 19:25:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-23 19:25:12 +0000
commitbfa91a43d6f8a58aa9db375ed0a6209293e9f312 (patch)
treebbc7fa087f78143ef291e1e2fb973755585921ff /libc/sysdeps/linux/i386/brk.c
parent60155d4649bde150591fb8ce3c6b0260739ad05c (diff)
Make i386 build w/ -std=c99 (almost)
Diffstat (limited to 'libc/sysdeps/linux/i386/brk.c')
-rw-r--r--libc/sysdeps/linux/i386/brk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/brk.c b/libc/sysdeps/linux/i386/brk.c
index 1b3128f9c..fcf7f3b33 100644
--- a/libc/sysdeps/linux/i386/brk.c
+++ b/libc/sysdeps/linux/i386/brk.c
@@ -30,7 +30,7 @@ int brk (void *addr)
{
void *__unbounded newbrk, *__unbounded scratch;
- asm ("movl %%ebx, %1\n" /* Save %ebx in scratch register. */
+ __asm__ ("movl %%ebx, %1\n" /* Save %ebx in scratch register. */
"movl %3, %%ebx\n" /* Put ADDR in %ebx to be syscall arg. */
"int $0x80 # %2\n" /* Perform the system call. */
"movl %1, %%ebx\n" /* Restore %ebx from scratch register. */