From 15cc971bcf0f8e77efc49cd1250fc4a311897e47 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 10 May 2004 18:38:07 +0000 Subject: Improve consistency of include file guards in src/sys/sys by terminating them with '_', as well as beginning with '_'. Observed by: bde --- sys/security/mac/mac_framework.h | 6 +++--- sys/security/mac/mac_policy.h | 6 +++--- sys/sys/_label.h | 6 +++--- sys/sys/acl.h | 6 +++--- sys/sys/mac.h | 6 +++--- sys/sys/mac_policy.h | 6 +++--- sys/sys/regression.h | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) (limited to 'sys') 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 @@ -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 @@ -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_ */ -- cgit v1.1