summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getcwd.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-24 08:34:31 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-24 08:34:31 +0000
commit694525ec2e1ba8cd93affc352dfd149ace4fa016 (patch)
tree522d2b1dd3d1fe84dce467355851bc5794165c0f /libc/sysdeps/linux/common/getcwd.c
parentae549acff0899cbec32bd2a1353a99ea26d6bc00 (diff)
- tidy up inline:
ldso and syscalls are __always_inline (the latter would need more cleanup)
Diffstat (limited to 'libc/sysdeps/linux/common/getcwd.c')
-rw-r--r--libc/sysdeps/linux/common/getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/getcwd.c b/libc/sysdeps/linux/common/getcwd.c
index f8fa3968b..ddeb483d6 100644
--- a/libc/sysdeps/linux/common/getcwd.c
+++ b/libc/sysdeps/linux/common/getcwd.c
@@ -30,7 +30,7 @@ libc_hidden_proto(stat)
#ifdef __NR_getcwd
# define __NR___syscall_getcwd __NR_getcwd
-static inline
+static __always_inline
_syscall2(int, __syscall_getcwd, char *, buf, unsigned long, size)
#else
@@ -144,7 +144,7 @@ oops:
return 0;
}
-static inline
+static __always_inline
int __syscall_getcwd(char * buf, unsigned long size)
{
int len;