summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/nanosleep.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-16 12:50:56 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:39 +0200
commit2668ea217fdce65fc1fee6cfc8538ce5dcdbd587 (patch)
tree2bd3c0873b1d64281be0411a5241ed09d38d6d6c /libc/sysdeps/linux/common/nanosleep.c
parentd5f8c6ddc447d1e6b2a7cd2acc311b352c3ab9ac (diff)
nanosleep.c, fsync.c: do not inline syscall, it is used twice
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/linux/common/nanosleep.c')
-rw-r--r--libc/sysdeps/linux/common/nanosleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/nanosleep.c b/libc/sysdeps/linux/common/nanosleep.c
index 26ce4a6c5..1e692bbf0 100644
--- a/libc/sysdeps/linux/common/nanosleep.c
+++ b/libc/sysdeps/linux/common/nanosleep.c
@@ -18,8 +18,8 @@
#endif
#define __NR___syscall_nanosleep __NR_nanosleep
-static inline _syscall2(int, __syscall_nanosleep, const struct timespec *, req,
- struct timespec *, rem);
+static _syscall2(int, __syscall_nanosleep, const struct timespec *, req,
+ struct timespec *, rem);
extern __typeof(nanosleep) __libc_nanosleep;