summaryrefslogtreecommitdiff
path: root/mount/fstab.h
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:44 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:44 +0100
commit66ee8158b69525e12060ef558cb5d77feadab1dc (patch)
tree08b30f2d07df9213f5647bc6f60b5090a263ef43 /mount/fstab.h
parent22853e4a82c6ef7b336527529acb94b14a0b0fd8 (diff)
downloadutil-linux-old-66ee8158b69525e12060ef558cb5d77feadab1dc.tar.gz
Imported from util-linux-2.10s tarball.
Diffstat (limited to 'mount/fstab.h')
-rw-r--r--mount/fstab.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/mount/fstab.h b/mount/fstab.h
index 65bf5dba..820f418a 100644
--- a/mount/fstab.h
+++ b/mount/fstab.h
@@ -1,3 +1,4 @@
+#include <mntent.h>
#define _PATH_FSTAB "/etc/fstab"
#ifdef _PATH_MOUNTED
#define MOUNTED_LOCK _PATH_MOUNTED "~"
@@ -13,11 +14,8 @@ int mtab_does_not_exist(void);
int mtab_is_a_symlink(void);
struct mntentchn {
- struct mntentchn *nxt, *prev;
- char *mnt_fsname;
- char *mnt_dir;
- char *mnt_type;
- char *mnt_opts;
+ struct mntentchn *nxt, *prev;
+ struct mntent m;
};
struct mntentchn *mtab_head (void);