diff options
author | Michael Adam <obnox@samba.org> | 2011-05-31 13:25:34 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-05-31 18:37:29 +0200 |
commit | e40331552137f513c6c2404d96adcf421212ec86 (patch) | |
tree | 869452bf09eb248134a39862330fa4fc58e7904a | |
parent | 942ae874b85570f44b3257c8d229792ede7f8fd9 (diff) | |
download | samba-e40331552137f513c6c2404d96adcf421212ec86.tar.gz samba-e40331552137f513c6c2404d96adcf421212ec86.tar.bz2 samba-e40331552137f513c6c2404d96adcf421212ec86.zip |
s3:rpc_server: add _RPC_SERVER_SRV_ACCESS_CHECK_H_ guard to srv_access_check.h
-rw-r--r-- | source3/rpc_server/srv_access_check.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_access_check.h b/source3/rpc_server/srv_access_check.h index db25ed65a4..72ce539568 100644 --- a/source3/rpc_server/srv_access_check.h +++ b/source3/rpc_server/srv_access_check.h @@ -27,6 +27,9 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#ifndef _RPC_SERVER_SRV_ACCESS_CHECK_H_ +#define _RPC_SERVER_SRV_ACCESS_CHECK_H_ + /* The following definitions come from rpc_server/srv_access_check.c */ NTSTATUS access_check_object( struct security_descriptor *psd, struct security_token *token, @@ -37,3 +40,5 @@ NTSTATUS access_check_object( struct security_descriptor *psd, struct security_t void map_max_allowed_access(const struct security_token *nt_token, const struct security_unix_token *unix_token, uint32_t *pacc_requested); + +#endif /* _RPC_SERVER_SRV_ACCESS_CHECK_H_ */ |