From 6b1fe09331da51e244ccb40b415a3ac146f854ad Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 16 Apr 2011 12:09:06 +0200 Subject: sync.c: simplify code Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/sync.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/sync.c b/libc/sysdeps/linux/common/sync.c index 126f40dd8..d7ac44967 100644 --- a/libc/sysdeps/linux/common/sync.c +++ b/libc/sysdeps/linux/common/sync.c @@ -8,12 +8,8 @@ */ #include -# if defined __USE_BSD || defined __USE_UNIX98 -#include -#include -void sync(void) -{ - INLINE_SYSCALL(sync, 0); -} +#if defined __USE_BSD || defined __USE_UNIX98 +# include +_syscall0(void, sync) #endif -- cgit v1.2.3