From 26c95f354523164ea81d703a5e00a7d4abf0126a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 8 Mar 2006 01:40:15 +0000 Subject: r14006: Fix a couple of irritating warnings. Jeremy. (This used to be commit ead13ca522d7b8cbb47d660d3cb73c3582088985) --- source3/client/mount.cifs.c | 4 ++-- 1 file 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; -- cgit