Bah. I missed a header file.
This commit is contained in:
parent
7b91f02021
commit
de4406747b
6
mount.c
6
mount.c
@ -83,7 +83,11 @@ extern int mount (__const char *__special_file, __const char *__dir,
|
|||||||
__const void *__data);
|
__const void *__data);
|
||||||
extern int umount (__const char *__special_file);
|
extern int umount (__const char *__special_file);
|
||||||
extern int umount2 (__const char *__special_file, int __flags);
|
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 */
|
extern const char mtab_file[]; /* Defined in utility.c */
|
||||||
|
@ -83,7 +83,11 @@ extern int mount (__const char *__special_file, __const char *__dir,
|
|||||||
__const void *__data);
|
__const void *__data);
|
||||||
extern int umount (__const char *__special_file);
|
extern int umount (__const char *__special_file);
|
||||||
extern int umount2 (__const char *__special_file, int __flags);
|
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 */
|
extern const char mtab_file[]; /* Defined in utility.c */
|
||||||
|
Loading…
Reference in New Issue
Block a user