summaryrefslogtreecommitdiffstats
path: root/utils/mount/nfs_mount.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-07-15 12:13:10 -0400
committerSteve Dickson <steved@redhat.com>2008-07-15 12:13:10 -0400
commit1ca49510fd1742955330583f259db7faf501a5e5 (patch)
tree4d7a0d391f564ce136db36b352cf942f393a5fa9 /utils/mount/nfs_mount.h
parentd5a09b59916d4ef24b15e34eac394149cb7a641a (diff)
downloadnfs-utils-1ca49510fd1742955330583f259db7faf501a5e5.tar.gz
nfs-utils-1ca49510fd1742955330583f259db7faf501a5e5.tar.xz
nfs-utils-1ca49510fd1742955330583f259db7faf501a5e5.zip
Clean up: add the traditional pre-processor safety check in headers under
utils/mount to prevent them from being included multiple times. For headers that already have this, use a more unique macro name to reduce the probability that some other header may use the same macro. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/nfs_mount.h')
-rw-r--r--utils/mount/nfs_mount.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/mount/nfs_mount.h b/utils/mount/nfs_mount.h
index 7df8fb2..2becfb1 100644
--- a/utils/mount/nfs_mount.h
+++ b/utils/mount/nfs_mount.h
@@ -8,8 +8,8 @@
* so it is easiest to ignore the kernel altogether (at compile time).
*/
-#ifndef _NFS_MOUNT_H
-#define _NFS_MOUNT_H
+#ifndef _NFS_UTILS_MOUNT_NFS_MOUNT_H
+#define _NFS_UTILS_MOUNT_NFS_MOUNT_H
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -83,4 +83,4 @@ struct nfs_mount_data {
int nfsmount(const char *, const char *, int , char **, int, int);
int nfsumount(int, char **);
-#endif /* _NFS_MOUNT_H */
+#endif /* _NFS_UTILS_MOUNT_NFS_MOUNT_H */