summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-28 05:18:30 +0000
committerTim Potter <tpot@samba.org>2003-04-28 05:18:30 +0000
commit4ea3cd2629592b5e306df64c998d220478d7f049 (patch)
tree157d25da60f856794de89dba3457f211f7f5925e /source3
parentee007fc7b8899052e73896fd19b2e71ef6e59be7 (diff)
downloadsamba-4ea3cd2629592b5e306df64c998d220478d7f049.tar.gz
samba-4ea3cd2629592b5e306df64c998d220478d7f049.tar.bz2
samba-4ea3cd2629592b5e306df64c998d220478d7f049.zip
Merge of const fixes from HEAD.
(This used to be commit a847ebd82732cc2b430c58c3b287a46db0e35ba1)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/ntlm_auth.c2
-rw-r--r--source3/utils/smbcontrol.c2
-rw-r--r--source3/utils/smbcquotas.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 445d292112..88913c8051 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -464,7 +464,7 @@ static BOOL check_auth_crap(void)
and valid authentication types
*/
-static DATA_BLOB get_challenge(void)
+static const DATA_BLOB get_challenge(void)
{
static DATA_BLOB chal;
if (opt_challenge.length)
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 06add6af22..8b984d9bd1 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -674,7 +674,7 @@ int main(int argc, char **argv)
poptContext pc;
int opt;
- static struct poptOption wbinfo_options[] = {
+ struct poptOption wbinfo_options[] = {
{ "timeout", 't', POPT_ARG_INT, &timeout, 't',
"Set timeout value in seconds", "TIMEOUT" },
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c
index 9c7379ca2a..c5d0aa869b 100644
--- a/source3/utils/smbcquotas.c
+++ b/source3/utils/smbcquotas.c
@@ -393,7 +393,7 @@ static struct cli_state *connect_one(const char *share)
pstring set_str = {0};
enum SMB_QUOTA_TYPE qtype;
int cmd = 0;
- static BOOL test_args = False;
+ BOOL test_args = False;
struct cli_state *cli;
BOOL fix_user = False;
SMB_NTQUOTA_STRUCT qt;