From 2668ea217fdce65fc1fee6cfc8538ce5dcdbd587 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 16 Apr 2011 12:50:56 +0200 Subject: nanosleep.c, fsync.c: do not inline syscall, it is used twice Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/nanosleep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/nanosleep.c') 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; -- cgit v1.2.3