diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-08-16 07:56:08 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-08-16 07:56:08 +0000 |
commit | b92cda9772a23a7d46171144b1f0af860142e590 (patch) | |
tree | 52c92554dfb455720a321bbf14a2df591b5a67cc /source3 | |
parent | 54e964a0fb0958f603f90ba5995586b21ee52266 (diff) | |
download | samba-b92cda9772a23a7d46171144b1f0af860142e590.tar.gz samba-b92cda9772a23a7d46171144b1f0af860142e590.tar.bz2 samba-b92cda9772a23a7d46171144b1f0af860142e590.zip |
Add some const to the 'in' paramaters for these functions.
Andrew Bartlett
(This used to be commit 23f332178526877e9670515eb7c614b81fca21a9)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/uid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index a5083ce75d..c0bacf8f91 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -592,7 +592,7 @@ DOM_SID *gid_to_sid(DOM_SID *psid, gid_t gid) was done correctly, False if not. sidtype is set by this function. *****************************************************************/ -BOOL sid_to_uid(DOM_SID *psid, uid_t *puid, enum SID_NAME_USE *sidtype) +BOOL sid_to_uid(const DOM_SID *psid, uid_t *puid, enum SID_NAME_USE *sidtype) { fstring sid_str; @@ -668,7 +668,7 @@ BOOL sid_to_uid(DOM_SID *psid, uid_t *puid, enum SID_NAME_USE *sidtype) was done correctly, False if not. *****************************************************************/ -BOOL sid_to_gid(DOM_SID *psid, gid_t *pgid, enum SID_NAME_USE *sidtype) +BOOL sid_to_gid(const DOM_SID *psid, gid_t *pgid, enum SID_NAME_USE *sidtype) { fstring dom_name, name, sid_str; enum SID_NAME_USE name_type; |