diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-07-15 12:13:10 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-07-15 12:13:10 -0400 |
commit | 1ca49510fd1742955330583f259db7faf501a5e5 (patch) | |
tree | 4d7a0d391f564ce136db36b352cf942f393a5fa9 /utils/mount/mount_constants.h | |
parent | d5a09b59916d4ef24b15e34eac394149cb7a641a (diff) | |
download | nfs-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/mount_constants.h')
-rw-r--r-- | utils/mount/mount_constants.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/mount/mount_constants.h b/utils/mount/mount_constants.h index 4f3c729..cbfb099 100644 --- a/utils/mount/mount_constants.h +++ b/utils/mount/mount_constants.h @@ -1,5 +1,5 @@ -#ifndef _NFS_MOUNT_CONSTANTS_H -#define _NFS_MOUNT_CONSTANTS_H +#ifndef _NFS_UTILS_MOUNT_CONSTANTS_H +#define _NFS_UTILS_MOUNT_CONSTANTS_H #ifndef MS_DIRSYNC #define MS_DIRSYNC 128 /* Directory modifications are synchronous */ @@ -64,4 +64,4 @@ if we have a stack or plain mount - mount atop of it, forming a stack. */ #define MS_MGC_MSK 0xffff0000 /* magic flag number mask */ #endif -#endif /* _NFS_MOUNT_CONSTANTS_H */ +#endif /* _NFS_UTILS_MOUNT_CONSTANTS_H */ |