summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-01 07:55:49 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-01 07:55:49 +0000
commitde4406747beb20548e312255e4fc1ae98e426e62 (patch)
treec1f43891013674fbf039619596588dfa497eeb57
parent7b91f020217823736f59e9eccfc721b05b937807 (diff)
Bah. I missed a header file.
-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,
__const void *__data);
extern int umount (__const char *__special_file);
extern int umount2 (__const char *__special_file, int __flags);
-static _syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf);
+
+#include <sys/syscall.h>
+#include <linux/unistd.h>
+static int sysfs( int option, unsigned int fs_index, char * buf);
+_syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf);
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,
__const void *__data);
extern int umount (__const char *__special_file);
extern int umount2 (__const char *__special_file, int __flags);
-static _syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf);
+
+#include <sys/syscall.h>
+#include <linux/unistd.h>
+static int sysfs( int option, unsigned int fs_index, char * buf);
+_syscall3(int, sysfs, int, option, unsigned int, fs_index, char *, buf);
extern const char mtab_file[]; /* Defined in utility.c */