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/include/fstab.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'support/include/fstab.h') 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 */ -- cgit