summaryrefslogtreecommitdiffstats
path: root/support/include/fstab.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-16 18:26:37 +1100
committerNeil Brown <neilb@suse.de>2007-03-16 18:26:37 +1100
commita64b65aac7af65f96a24cd89fc07a31dbb5980ab (patch)
tree4e073cd23713829f0a3548f8bc4ddcbb651255fe /support/include/fstab.h
parentae5ec51e0ddc99dc5552e51bd5c095084dbb61aa (diff)
downloadnfs-utils-a64b65aac7af65f96a24cd89fc07a31dbb5980ab.tar.gz
nfs-utils-a64b65aac7af65f96a24cd89fc07a31dbb5980ab.tar.xz
nfs-utils-a64b65aac7af65f96a24cd89fc07a31dbb5980ab.zip
Remove nfs_mntent_t in favour of struct mntent
They are identical and the later allows us to use hasmntent.
Diffstat (limited to 'support/include/fstab.h')
-rw-r--r--support/include/fstab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/include/fstab.h b/support/include/fstab.h
index ab30c5a..64c8355 100644
--- a/support/include/fstab.h
+++ b/support/include/fstab.h
@@ -12,7 +12,7 @@ int mtab_does_not_exist(void);
struct mntentchn {
struct mntentchn *nxt, *prev;
- nfs_mntent_t m;
+ struct mntent m;
};
struct mntentchn *getmntoptfile (const char *file);
@@ -24,7 +24,7 @@ struct mntentchn *getfsspec (const char *spec);
void lock_mtab (void);
void unlock_mtab (void);
-void update_mtab (const char *special, nfs_mntent_t *with);
+void update_mtab (const char *special, struct mntent *with);
#endif /* _NFS_FSTAB_H */