diff options
Diffstat (limited to 'libc/sysdeps/linux/common/sync.c')
-rw-r--r-- | libc/sysdeps/linux/common/sync.c | 10 |
1 files changed, 3 insertions, 7 deletions
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 <sys/syscall.h> -# if defined __USE_BSD || defined __USE_UNIX98 -#include <sys/types.h> -#include <unistd.h> -void sync(void) -{ - INLINE_SYSCALL(sync, 0); -} +#if defined __USE_BSD || defined __USE_UNIX98 +# include <unistd.h> +_syscall0(void, sync) #endif |