diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/include/Makefile.am | 1 | ||||
-rw-r--r-- | support/include/fstab.h | 30 | ||||
-rw-r--r-- | support/nfs/Makefile.am | 2 |
3 files changed, 1 insertions, 32 deletions
diff --git a/support/include/Makefile.am b/support/include/Makefile.am index 69c4503..718abda 100644 --- a/support/include/Makefile.am +++ b/support/include/Makefile.am @@ -4,7 +4,6 @@ SUBDIRS = nfs rpcsvc sys noinst_HEADERS = \ exportfs.h \ - fstab.h \ ha-callout.h \ misc.h \ nfs_mntent.h \ diff --git a/support/include/fstab.h b/support/include/fstab.h deleted file mode 100644 index 64c8355..0000000 --- a/support/include/fstab.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef _NFS_FSTAB_H -#define _NFS_FSTAB_H - -#include "nfs_mntent.h" - -#ifndef _PATH_FSTAB -#define _PATH_FSTAB "/etc/fstab" -#endif - -int mtab_is_writable(void); -int mtab_does_not_exist(void); - -struct mntentchn { - struct mntentchn *nxt, *prev; - struct mntent m; -}; - -struct mntentchn *getmntoptfile (const char *file); -struct mntentchn *getmntdirbackward (const char *dir, struct mntentchn *mc); -struct mntentchn *getmntdevbackward (const char *dev, struct mntentchn *mc); - -struct mntentchn *getfsfile (const char *file); -struct mntentchn *getfsspec (const char *spec); - -void lock_mtab (void); -void unlock_mtab (void); -void update_mtab (const char *special, struct mntent *with); - -#endif /* _NFS_FSTAB_H */ - diff --git a/support/nfs/Makefile.am b/support/nfs/Makefile.am index 82353a9..87f3949 100644 --- a/support/nfs/Makefile.am +++ b/support/nfs/Makefile.am @@ -4,7 +4,7 @@ noinst_LIBRARIES = libnfs.a libnfs_a_SOURCES = exports.c rmtab.c xio.c rpcmisc.c rpcdispatch.c \ xlog.c xcommon.c wildmat.c nfssvc.c nfsclient.c \ nfsexport.c getfh.c nfsctl.c \ - svc_socket.c cacheio.c closeall.c fstab.c nfs_mntent.c + svc_socket.c cacheio.c closeall.c nfs_mntent.c MAINTAINERCLEANFILES = Makefile.in |