diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-14 13:29:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-14 13:29:05 +0000 |
commit | 6ea397073ab8381cbf765539196d376ebab33a3c (patch) | |
tree | f07fd4bf22fe2776734ebecffd62acfd14f82c2f /libc/sysdeps | |
parent | 3e8c046f98134be9c6ddd954141b6b13bf919199 (diff) |
eat whitespace
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/arm/brk.c | 15 | ||||
-rw-r--r-- | libc/sysdeps/linux/arm/syscall.c | 1 |
2 files changed, 7 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/arm/brk.c b/libc/sysdeps/linux/arm/brk.c index da472194b..82b9835ae 100644 --- a/libc/sysdeps/linux/arm/brk.c +++ b/libc/sysdeps/linux/arm/brk.c @@ -26,15 +26,14 @@ void *__curbrk = 0; int brk (void *addr) { - void *newbrk = (void*)INTERNAL_SYSCALL(brk, , 1, addr); + void *newbrk = (void*)INTERNAL_SYSCALL(brk, , 1, addr); - __curbrk = newbrk; + __curbrk = newbrk; - if (newbrk < addr) - { - __set_errno (ENOMEM); - return -1; - } + if (newbrk < addr) { + __set_errno (ENOMEM); + return -1; + } - return 0; + return 0; } diff --git a/libc/sysdeps/linux/arm/syscall.c b/libc/sysdeps/linux/arm/syscall.c index 9f1e9928c..195c31c74 100644 --- a/libc/sysdeps/linux/arm/syscall.c +++ b/libc/sysdeps/linux/arm/syscall.c @@ -63,4 +63,3 @@ long syscall(long sysnum, long a, long b, long c, long d, long e, long f) } return (long) _r0; } - |