r14006: Fix a couple of irritating warnings.
authorJeremy Allison <jra@samba.org>
Wed, 8 Mar 2006 01:40:15 +0000 (01:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:11:04 +0000 (11:11 -0500)
Jeremy.
(This used to be commit ead13ca522d7b8cbb47d660d3cb73c3582088985)

source3/client/mount.cifs.c

index dd765c340637341c2c9e26d8d30df0cb14e6f8ea..2336b8b9105d6b8f57d36a9795e48d153e52c8bc 100755 (executable)
@@ -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;