summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-16 12:50:24 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:39 +0200
commitd5f8c6ddc447d1e6b2a7cd2acc311b352c3ab9ac (patch)
tree6b39f23441c62dbaf18e513711c542e07ce26fd0 /libc/sysdeps
parent29f2e0cd6d48770e516f0e7fed333643360defd9 (diff)
brk.c: remove libc_hidden_proto, always_inline syscall
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/brk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/brk.c b/libc/sysdeps/linux/common/brk.c
index 18836ba59..77a26c083 100644
--- a/libc/sysdeps/linux/common/brk.c
+++ b/libc/sysdeps/linux/common/brk.c
@@ -8,10 +8,8 @@
#include <unistd.h>
#include <sys/syscall.h>
-libc_hidden_proto(brk)
-
#define __NR___syscall_brk __NR_brk
-static inline _syscall1(void *, __syscall_brk, void *, end)
+static __always_inline _syscall1(void *, __syscall_brk, void *, end)
/* This must be initialized data because commons can't have aliases. */
void * __curbrk attribute_hidden = 0;