umount.nfs: eliminate a nearly empty header file.
Subsystems (2)
PATCH 13/23 umount.nfs: eliminate a nearly empty header file.
Clean-up: move nfsumount() global declaration to nfs_mount.h, and remove nfsumount.h.
Signed-off-by Chuck Lever <[email protected]>
---
utils/mount/mount.c | 1 - utils/mount/network.c | 1 - utils/mount/nfs_mount.h | 3 ++- utils/mount/nfsmount.c | 1 - utils/mount/nfsumount.c | 1 - utils/mount/nfsumount.h | 9 --------- 6 files changed, 2 insertions(+), 14 deletions(-)
utils/mount/mount.c +0 -1
@@ -39,7 +39,6 @@#include "nfs_mount.h" #include "nfs4_mount.h" -#include "nfsumount.h" #include "mount.h" #include "error.h" #include "network.h"
utils/mount/network.c +0 -1
@@ -38,7 +38,6 @@#include "xcommon.h" #include "mount.h" #include "nls.h" -#include "nfsumount.h" #include "nfs_mount.h" #include "mount_constants.h" #include "network.h"
utils/mount/nfs_mount.h +2 -1
@@ -80,6 +80,7 @@ struct nfs_mount_data {#define AUTH_GSS_SPKMP 390011#endif -int nfsmount (const char *,const char *,int ,char **,int ); +int nfsmount (const char *,const char *,int ,char **,int ); +int nfsumount (int ,char **);#endif /* _NFS_MOUNT_H */
utils/mount/nfsmount.c +0 -1
@@ -59,7 +59,6 @@#include "conn.h" #include "xcommon.h" #include "mount.h" -#include "nfsumount.h" #include "nfs_mount.h" #include "mount_constants.h" #include "nls.h"
utils/mount/nfsumount.c +0 -1
@@ -33,7 +33,6 @@#include "mount_constants.h" #include "mount.h" -#include "nfsumount.h" #include "error.h" #include "network.h"
utils/mount/nfsumount.h deleted +0 -9
@@ -1,9 +0,0 @@ -#ifndef _NFS_UMOUNT_H -#define _NFS_UMOUNT_H - -#include "conn.h" -#include "mount.h" - -int nfsumount (int ,char **); - -#endif
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs