summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-05-10 18:38:07 +0000
committerrwatson <rwatson@FreeBSD.org>2004-05-10 18:38:07 +0000
commit15cc971bcf0f8e77efc49cd1250fc4a311897e47 (patch)
treef10181a7133e1528d17720276148091545579bef /sys
parentda67f4fe48b94bf800a905d00a74d7074cbeb33a (diff)
downloadFreeBSD-src-15cc971bcf0f8e77efc49cd1250fc4a311897e47.zip
FreeBSD-src-15cc971bcf0f8e77efc49cd1250fc4a311897e47.tar.gz
Improve consistency of include file guards in src/sys/sys by terminating
them with '_', as well as beginning with '_'. Observed by: bde
Diffstat (limited to 'sys')
-rw-r--r--sys/security/mac/mac_framework.h6
-rw-r--r--sys/security/mac/mac_policy.h6
-rw-r--r--sys/sys/_label.h6
-rw-r--r--sys/sys/acl.h6
-rw-r--r--sys/sys/mac.h6
-rw-r--r--sys/sys/mac_policy.h6
-rw-r--r--sys/sys/regression.h6
7 files changed, 21 insertions, 21 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h
index 59c247a..45abe17 100644
--- a/sys/security/mac/mac_framework.h
+++ b/sys/security/mac/mac_framework.h
@@ -39,8 +39,8 @@
* The POSIX.1e implementation page may be reached at:
* http://www.trustedbsd.org/
*/
-#ifndef _SYS_MAC_H
-#define _SYS_MAC_H
+#ifndef _SYS_MAC_H_
+#define _SYS_MAC_H_
#include <sys/_label.h>
@@ -364,4 +364,4 @@ int vop_stdsetlabel_ea(struct vop_setlabel_args *ap);
#endif /* !_KERNEL */
-#endif /* !_SYS_MAC_H */
+#endif /* !_SYS_MAC_H_ */
diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h
index 0c3eff8..8bcc1be 100644
--- a/sys/security/mac/mac_policy.h
+++ b/sys/security/mac/mac_policy.h
@@ -36,8 +36,8 @@
/*
* Kernel interface for MAC policy modules.
*/
-#ifndef _SYS_MAC_POLICY_H
-#define _SYS_MAC_POLICY_H
+#ifndef _SYS_MAC_POLICY_H_
+#define _SYS_MAC_POLICY_H_
/*-
* Pluggable access control policy definition structure.
@@ -502,4 +502,4 @@ int mac_policy_modevent(module_t mod, int type, void *data);
#define LABEL_TO_SLOT(l, s) (l)->l_perpolicy[s]
-#endif /* !_SYS_MAC_POLICY_H */
+#endif /* !_SYS_MAC_POLICY_H_ */
diff --git a/sys/sys/_label.h b/sys/sys/_label.h
index 5c3e210..8c10079 100644
--- a/sys/sys/_label.h
+++ b/sys/sys/_label.h
@@ -33,8 +33,8 @@
*
* $FreeBSD$
*/
-#ifndef _SYS__LABEL_H
-#define _SYS__LABEL_H
+#ifndef _SYS__LABEL_H_
+#define _SYS__LABEL_H_
/*
* XXXMAC: This shouldn't be exported to userland, but is because of ucred.h
@@ -53,4 +53,4 @@ struct label {
} l_perpolicy[MAC_MAX_SLOTS];
};
-#endif /* !_SYS__LABEL_H */
+#endif /* !_SYS__LABEL_H_ */
diff --git a/sys/sys/acl.h b/sys/sys/acl.h
index 64ae294..3a8e8ea 100644
--- a/sys/sys/acl.h
+++ b/sys/sys/acl.h
@@ -32,8 +32,8 @@
* Support for POSIX.1e access control lists.
*/
-#ifndef _SYS_ACL_H
-#define _SYS_ACL_H
+#ifndef _SYS_ACL_H_
+#define _SYS_ACL_H_
/*
* POSIX.1e ACL types and related constants.
@@ -226,4 +226,4 @@ __END_DECLS
#endif /* !_KERNEL */
-#endif /* !_SYS_ACL_H */
+#endif /* !_SYS_ACL_H_ */
diff --git a/sys/sys/mac.h b/sys/sys/mac.h
index 59c247a..45abe17 100644
--- a/sys/sys/mac.h
+++ b/sys/sys/mac.h
@@ -39,8 +39,8 @@
* The POSIX.1e implementation page may be reached at:
* http://www.trustedbsd.org/
*/
-#ifndef _SYS_MAC_H
-#define _SYS_MAC_H
+#ifndef _SYS_MAC_H_
+#define _SYS_MAC_H_
#include <sys/_label.h>
@@ -364,4 +364,4 @@ int vop_stdsetlabel_ea(struct vop_setlabel_args *ap);
#endif /* !_KERNEL */
-#endif /* !_SYS_MAC_H */
+#endif /* !_SYS_MAC_H_ */
diff --git a/sys/sys/mac_policy.h b/sys/sys/mac_policy.h
index 0c3eff8..8bcc1be 100644
--- a/sys/sys/mac_policy.h
+++ b/sys/sys/mac_policy.h
@@ -36,8 +36,8 @@
/*
* Kernel interface for MAC policy modules.
*/
-#ifndef _SYS_MAC_POLICY_H
-#define _SYS_MAC_POLICY_H
+#ifndef _SYS_MAC_POLICY_H_
+#define _SYS_MAC_POLICY_H_
/*-
* Pluggable access control policy definition structure.
@@ -502,4 +502,4 @@ int mac_policy_modevent(module_t mod, int type, void *data);
#define LABEL_TO_SLOT(l, s) (l)->l_perpolicy[s]
-#endif /* !_SYS_MAC_POLICY_H */
+#endif /* !_SYS_MAC_POLICY_H_ */
diff --git a/sys/sys/regression.h b/sys/sys/regression.h
index d9170bc..8ee757e 100644
--- a/sys/sys/regression.h
+++ b/sys/sys/regression.h
@@ -25,8 +25,8 @@
*
* $FreeBSD$
*/
-#ifndef _SYS_REGRESSION_H
-#define _SYS_REGRESSION_H
+#ifndef _SYS_REGRESSION_H_
+#define _SYS_REGRESSION_H_
#ifndef _KERNEL
/*
@@ -35,4 +35,4 @@
int __setugid(int _flag);
#endif /* !_KERNEL */
-#endif /* !_SYS_REGRESSION_H */
+#endif /* !_SYS_REGRESSION_H_ */
OpenPOWER on IntegriCloud