From a64b65aac7af65f96a24cd89fc07a31dbb5980ab Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 16 Mar 2007 18:26:37 +1100 Subject: Remove nfs_mntent_t in favour of struct mntent They are identical and the later allows us to use hasmntent. --- support/nfs/fstab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'support/nfs/fstab.c') diff --git a/support/nfs/fstab.c b/support/nfs/fstab.c index ba7e580..c900f3c 100644 --- a/support/nfs/fstab.c +++ b/support/nfs/fstab.c @@ -124,7 +124,7 @@ discard_mntentchn(struct mntentchn *mc0) { static void read_mntentchn(mntFILE *mfp, const char *fnam, struct mntentchn *mc0) { struct mntentchn *mc = mc0; - nfs_mntent_t *mnt; + struct mntent *mnt; while ((mnt = nfs_getmntent(mfp)) != NULL) { if (!streq(mnt->mnt_type, MNTTYPE_IGNORE)) { @@ -444,7 +444,7 @@ lock_mtab (void) { */ void -update_mtab (const char *dir, nfs_mntent_t *instead) { +update_mtab (const char *dir, struct mntent *instead) { mntFILE *mfp, *mftmp; const char *fnam = MOUNTED; struct mntentchn mtabhead; /* dummy */ -- cgit