summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-07 07:46:01 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-07 07:46:01 +0000
commit7a0af712b0752c2cc14da98843d03683c4d7e216 (patch)
tree5102539e6dce1447221058c2d5d2245a53573637 /source3
parent39d575d68e57d7e874b30fa1bceb1db7e1a228cb (diff)
downloadsamba-7a0af712b0752c2cc14da98843d03683c4d7e216.tar.gz
samba-7a0af712b0752c2cc14da98843d03683c4d7e216.tar.bz2
samba-7a0af712b0752c2cc14da98843d03683c4d7e216.zip
Add 'const' to the function prototypes to match the recent commit.
(This used to be commit 0118e459b603a991f23d48cfd7f5e68c4374f950)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/passdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index a79c8a0289..7a791ddac4 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -57,7 +57,7 @@ typedef struct pdb_context
BOOL (*pdb_getsampwnam)(struct pdb_context *, SAM_ACCOUNT *sam_acct, const char *username);
- BOOL (*pdb_getsampwsid)(struct pdb_context *, SAM_ACCOUNT *sam_acct, DOM_SID *sid);
+ BOOL (*pdb_getsampwsid)(struct pdb_context *, SAM_ACCOUNT *sam_acct, const DOM_SID *sid);
BOOL (*pdb_add_sam_account)(struct pdb_context *, SAM_ACCOUNT *sampass);
@@ -88,7 +88,7 @@ typedef struct pdb_methods
BOOL (*getsampwnam)(struct pdb_methods *, SAM_ACCOUNT *sam_acct, const char *username);
- BOOL (*getsampwsid)(struct pdb_methods *, SAM_ACCOUNT *sam_acct, DOM_SID *Sid);
+ BOOL (*getsampwsid)(struct pdb_methods *, SAM_ACCOUNT *sam_acct, const DOM_SID *Sid);
BOOL (*add_sam_account)(struct pdb_methods *, SAM_ACCOUNT *sampass);