config.c: constness tightening to avoid compilation warning.
authorJunio C Hamano <junkio@cox.net>
Mon, 28 Nov 2005 09:46:15 +0000 (01:46 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 28 Nov 2005 09:46:15 +0000 (01:46 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
config.c

index 152fa28..34584f6 100644 (file)
--- a/config.c
+++ b/config.c
@@ -11,7 +11,7 @@
 #define MAXNAME (256)
 
 static FILE *config_file;
-static char *config_file_name;
+static const char *config_file_name;
 static int config_linenr;
 static int get_next_char(void)
 {