summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/brk.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-14 13:29:05 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-14 13:29:05 +0000
commit6ea397073ab8381cbf765539196d376ebab33a3c (patch)
treef07fd4bf22fe2776734ebecffd62acfd14f82c2f /libc/sysdeps/linux/arm/brk.c
parent3e8c046f98134be9c6ddd954141b6b13bf919199 (diff)
eat whitespace
Diffstat (limited to 'libc/sysdeps/linux/arm/brk.c')
-rw-r--r--libc/sysdeps/linux/arm/brk.c15
1 files changed, 7 insertions, 8 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;
}