summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-04 08:37:21 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:12 +1000
commitaefe60da8c6a5e48d807fa2e64d332b67fae25b8 (patch)
treefe5ff0d5e6f8ff5c0a6bd6678f50d68c00daaf37 /source3/include
parentda9bca62825f838ac57d7a56dc8b0e9b5de181c8 (diff)
downloadsamba-aefe60da8c6a5e48d807fa2e64d332b67fae25b8.tar.gz
samba-aefe60da8c6a5e48d807fa2e64d332b67fae25b8.tar.bz2
samba-aefe60da8c6a5e48d807fa2e64d332b67fae25b8.zip
s3-util_sid Tidy up global struct security_token
This no longer needs to be global, and should be const. We now also init it with the C99 style initialisers. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 03196c30ed..73fe868d84 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1319,7 +1319,7 @@ bool is_setuid_root(void) ;
/* The following definitions come from lib/util_sid.c */
const char *sid_type_lookup(uint32 sid_type) ;
-struct security_token *get_system_token(void) ;
+const struct security_token *get_system_token(void) ;
char *sid_to_fstring(fstring sidstr_out, const struct dom_sid *sid);
char *sid_string_talloc(TALLOC_CTX *mem_ctx, const struct dom_sid *sid);
char *sid_string_dbg(const struct dom_sid *sid);