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/nfs_mntent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'support/nfs/nfs_mntent.c') diff --git a/support/nfs/nfs_mntent.c b/support/nfs/nfs_mntent.c index d1d124b..a3fecfc 100644 --- a/support/nfs/nfs_mntent.c +++ b/support/nfs/nfs_mntent.c @@ -124,7 +124,7 @@ nfs_endmntent (mntFILE *mfp) { } int -nfs_addmntent (mntFILE *mfp, nfs_mntent_t *mnt) { +nfs_addmntent (mntFILE *mfp, struct mntent *mnt) { char *m1, *m2, *m3, *m4; int res; @@ -147,10 +147,10 @@ nfs_addmntent (mntFILE *mfp, nfs_mntent_t *mnt) { } /* Read the next entry from the file fp. Stop reading at an incorrect entry. */ -nfs_mntent_t * +struct mntent * nfs_getmntent (mntFILE *mfp) { static char buf[4096]; - static nfs_mntent_t me; + static struct mntent me; char *s; again: -- cgit