diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-05 03:14:39 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-05 03:14:39 +0000 |
commit | e76c3b08e105147e3cef7e8d38d65da2fac6b2e1 (patch) | |
tree | 87f705b9e4e4e48700ac61e9538c637ae2b395a7 /util-linux/mount.c | |
parent | 3c0364f3911ec9f43e1c8c96ec2c8e30b1b52c47 (diff) | |
download | busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.tar.gz busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.tar.bz2 busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.zip |
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can
handle them sanely and all at once.
-Erik
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 57dc73e55..5b6ec1e71 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -84,11 +84,7 @@ extern int mount (__const char *__special_file, __const char *__dir, | |||
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 | 86 | ||
87 | #include <sys/syscall.h> | 87 | extern int sysfs( int option, unsigned int fs_index, char * buf); |
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); | ||
91 | |||
92 | 88 | ||
93 | extern const char mtab_file[]; /* Defined in utility.c */ | 89 | extern const char mtab_file[]; /* Defined in utility.c */ |
94 | 90 | ||