]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/fstab.h
libnfs.a: eliminate another dependency on a global variable
[nfs-utils.git] / support / include / fstab.h
diff --git a/support/include/fstab.h b/support/include/fstab.h
deleted file mode 100644 (file)
index 64c8355..0000000
+++ /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 */
-