diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-01 07:55:49 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-01 07:55:49 +0000 |
commit | de4406747beb20548e312255e4fc1ae98e426e62 (patch) | |
tree | c1f43891013674fbf039619596588dfa497eeb57 | |
parent | 7b91f020217823736f59e9eccfc721b05b937807 (diff) | |
download | busybox-w32-de4406747beb20548e312255e4fc1ae98e426e62.tar.gz busybox-w32-de4406747beb20548e312255e4fc1ae98e426e62.tar.bz2 busybox-w32-de4406747beb20548e312255e4fc1ae98e426e62.zip |
Bah. I missed a header file.
-rw-r--r-- | mount.c | 6 | ||||
-rw-r--r-- | util-linux/mount.c | 6 |
2 files changed, 10 insertions, 2 deletions
@@ -83,7 +83,11 @@ extern int mount (__const char *__special_file, __const char *__dir, | |||
83 | __const void *__data); | 83 | __const void *__data); |
84 | extern int umount (__const char *__special_file); | 84 | extern int umount (__const char *__special_file); |
85 | extern int umount2 (__const char *__special_file, int __flags); | 85 | extern int umount2 (__const char *__special_file, int __flags); |
86 | static _syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf); | 86 | |
87 | #include <sys/syscall.h> | ||
88 | #include <linux/unistd.h> | ||
89 | static 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 | ||
89 | extern const char mtab_file[]; /* Defined in utility.c */ | 93 | extern 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); |
84 | extern int umount (__const char *__special_file); | 84 | extern int umount (__const char *__special_file); |
85 | extern int umount2 (__const char *__special_file, int __flags); | 85 | extern int umount2 (__const char *__special_file, int __flags); |
86 | static _syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf); | 86 | |
87 | #include <sys/syscall.h> | ||
88 | #include <linux/unistd.h> | ||
89 | static 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 | ||
89 | extern const char mtab_file[]; /* Defined in utility.c */ | 93 | extern const char mtab_file[]; /* Defined in utility.c */ |