summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/avr32/brk.c
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-04-24 07:08:48 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-04-24 07:08:48 +0000
commit76dc6857465109973ee79a8517ed27680289c36d (patch)
treede744555e38d43a8b09c667689d1bf099e0b6766 /libc/sysdeps/linux/avr32/brk.c
parent18f85730003544cb880641e0bb12b5901dfe1757 (diff)
Fix whitespace damage in AVR32 in libc sysdeps AVR32 specific Linux files.
Diffstat (limited to 'libc/sysdeps/linux/avr32/brk.c')
-rw-r--r--libc/sysdeps/linux/avr32/brk.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/avr32/brk.c b/libc/sysdeps/linux/avr32/brk.c
index d824c7cd0..a54b49a61 100644
--- a/libc/sysdeps/linux/avr32/brk.c
+++ b/libc/sysdeps/linux/avr32/brk.c
@@ -15,17 +15,17 @@ void *__curbrk attribute_hidden = 0;
int brk (void *addr)
{
- void *newbrk;
+ void *newbrk;
- newbrk = (void *)INLINE_SYSCALL(brk, 1, addr);
+ newbrk = (void *)INLINE_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;
}
libc_hidden_def(brk)