[git commit future] nanosleep.c, fsync.c: do not inline syscall, it is used twice

Peter S. Mazinger ps.m at gmx.net
Wed Apr 20 10:50:38 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=0ae027931edc6d7e1b037e6afd9c249d64299093
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/sysdeps/linux/common/fsync.c     |    2 +-
 libc/sysdeps/linux/common/nanosleep.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libc/sysdeps/linux/common/fsync.c b/libc/sysdeps/linux/common/fsync.c
index 711811f..dcf77eb 100644
--- a/libc/sysdeps/linux/common/fsync.c
+++ b/libc/sysdeps/linux/common/fsync.c
@@ -17,7 +17,7 @@
 #endif
 
 #define __NR___syscall_fsync __NR_fsync
-static inline _syscall1(int, __syscall_fsync, int, fd)
+static _syscall1(int, __syscall_fsync, int, fd)
 
 extern __typeof(fsync) __libc_fsync;
 
diff --git a/libc/sysdeps/linux/common/nanosleep.c b/libc/sysdeps/linux/common/nanosleep.c
index 26ce4a6..1e692bb 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;
 
-- 
1.7.3.4



More information about the uClibc-cvs mailing list