summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
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
parent3e8c046f98134be9c6ddd954141b6b13bf919199 (diff)
eat whitespace
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/arm/brk.c15
-rw-r--r--libc/sysdeps/linux/arm/syscall.c1
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;
}
-