summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-08 01:40:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:04 -0500
commit26c95f354523164ea81d703a5e00a7d4abf0126a (patch)
tree0a2c46e42033eb9cbb20ab3fbc17cbe4218b5d5a /source3
parent3527b5cc25d4177e860745b16409984610ed11df (diff)
downloadsamba-26c95f354523164ea81d703a5e00a7d4abf0126a.tar.gz
samba-26c95f354523164ea81d703a5e00a7d4abf0126a.tar.bz2
samba-26c95f354523164ea81d703a5e00a7d4abf0126a.zip
r14006: Fix a couple of irritating warnings.
Jeremy. (This used to be commit ead13ca522d7b8cbb47d660d3cb73c3582088985)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/client/mount.cifs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c
index dd765c3406..2336b8b910 100755
--- a/source3/client/mount.cifs.c
+++ b/source3/client/mount.cifs.c
@@ -59,7 +59,7 @@
#define MS_MOVE 8192
#endif
-char * thisprogram;
+const char *thisprogram;
int verboseflag = 0;
static int got_password = 0;
static int got_user = 0;
@@ -301,7 +301,7 @@ static int get_password_from_file(int file_descript, char * filename)
static int parse_options(char ** optionsp, int * filesys_flags)
{
- char * data;
+ const char * data;
char * percent_char = NULL;
char * value = NULL;
char * next_keyword = NULL;