| Index: fusl/include/mntent.h
|
| diff --git a/fusl/include/mntent.h b/fusl/include/mntent.h
|
| index d03c414a2b069d7701f285320767fbe67522093a..d3b179f5919d634fd9ac8b3452d0249a4908148b 100644
|
| --- a/fusl/include/mntent.h
|
| +++ b/fusl/include/mntent.h
|
| @@ -10,32 +10,31 @@ extern "C" {
|
|
|
| #define MOUNTED "/etc/mtab"
|
|
|
| -#define MNTTYPE_IGNORE "ignore"
|
| -#define MNTTYPE_NFS "nfs"
|
| -#define MNTTYPE_SWAP "swap"
|
| -#define MNTOPT_DEFAULTS "defaults"
|
| -#define MNTOPT_RO "ro"
|
| -#define MNTOPT_RW "rw"
|
| -#define MNTOPT_SUID "suid"
|
| -#define MNTOPT_NOSUID "nosuid"
|
| -#define MNTOPT_NOAUTO "noauto"
|
| -
|
| -struct mntent
|
| -{
|
| - char *mnt_fsname;
|
| - char *mnt_dir;
|
| - char *mnt_type;
|
| - char *mnt_opts;
|
| - int mnt_freq;
|
| - int mnt_passno;
|
| +#define MNTTYPE_IGNORE "ignore"
|
| +#define MNTTYPE_NFS "nfs"
|
| +#define MNTTYPE_SWAP "swap"
|
| +#define MNTOPT_DEFAULTS "defaults"
|
| +#define MNTOPT_RO "ro"
|
| +#define MNTOPT_RW "rw"
|
| +#define MNTOPT_SUID "suid"
|
| +#define MNTOPT_NOSUID "nosuid"
|
| +#define MNTOPT_NOAUTO "noauto"
|
| +
|
| +struct mntent {
|
| + char* mnt_fsname;
|
| + char* mnt_dir;
|
| + char* mnt_type;
|
| + char* mnt_opts;
|
| + int mnt_freq;
|
| + int mnt_passno;
|
| };
|
|
|
| -FILE *setmntent(const char *, const char *);
|
| -int endmntent(FILE *);
|
| -struct mntent *getmntent(FILE *);
|
| -struct mntent *getmntent_r(FILE *, struct mntent *, char *, int);
|
| -int addmntent(FILE *, const struct mntent *);
|
| -char *hasmntopt(const struct mntent *, const char *);
|
| +FILE* setmntent(const char*, const char*);
|
| +int endmntent(FILE*);
|
| +struct mntent* getmntent(FILE*);
|
| +struct mntent* getmntent_r(FILE*, struct mntent*, char*, int);
|
| +int addmntent(FILE*, const struct mntent*);
|
| +char* hasmntopt(const struct mntent*, const char*);
|
|
|
| #ifdef __cplusplus
|
| }
|
|
|