OSDN Git Service

- fix inline keyword
[uclinux-h8/uclibc-ng.git] / libc / sysdeps / linux / common / chroot.c
index 527310a..12d09bb 100644 (file)
@@ -7,14 +7,14 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#include "syscalls.h"
+#include <sys/syscall.h>
 #include <unistd.h>
 #include <string.h>
 #include <sys/param.h>
 
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
 #define __NR___syscall_chroot __NR_chroot
-static inline _syscall1(int, __syscall_chroot, const char *, path);
+static __inline__ _syscall1(int, __syscall_chroot, const char *, path);
 
 int chroot(const char *path)
 {