aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mount.c6
-rw-r--r--util-linux/mount.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/mount.c b/mount.c
index 2353a8ac2..cddccadb4 100644
--- a/mount.c
+++ b/mount.c
@@ -83,7 +83,11 @@ extern int mount (__const char *__special_file, __const char *__dir,
83 __const void *__data); 83 __const void *__data);
84extern int umount (__const char *__special_file); 84extern int umount (__const char *__special_file);
85extern int umount2 (__const char *__special_file, int __flags); 85extern int umount2 (__const char *__special_file, int __flags);
86static _syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf); 86
87#include <sys/syscall.h>
88#include <linux/unistd.h>
89static int sysfs( int option, unsigned int fs_index, char * buf);
90_syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf);
87 91
88 92
89extern const char mtab_file[]; /* Defined in utility.c */ 93extern const char mtab_file[]; /* Defined in utility.c */
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 2353a8ac2..cddccadb4 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -83,7 +83,11 @@ extern int mount (__const char *__special_file, __const char *__dir,
83 __const void *__data); 83 __const void *__data);
84extern int umount (__const char *__special_file); 84extern int umount (__const char *__special_file);
85extern int umount2 (__const char *__special_file, int __flags); 85extern int umount2 (__const char *__special_file, int __flags);
86static _syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf); 86
87#include <sys/syscall.h>
88#include <linux/unistd.h>
89static int sysfs( int option, unsigned int fs_index, char * buf);
90_syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf);
87 91
88 92
89extern const char mtab_file[]; /* Defined in utility.c */ 93extern const char mtab_file[]; /* Defined in utility.c */