Improve consistency of include file guards in src/sys/sys by terminating

them with '_', as well as beginning with '_'.

Observed by:	bde
This commit is contained in:
Robert Watson 2004-05-10 18:38:07 +00:00
parent ffe2232b31
commit 02ebd2bcb5
7 changed files with 21 additions and 21 deletions

View File

@ -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_ */

View File

@ -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_ */

View File

@ -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_ */

View File

@ -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_ */

View File

@ -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_ */

View File

@ -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_ */

View File

@ -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_ */