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 152fa282f0853d42e5be767770e6dfa04887a0d3..34584f62b40ef256d1d0f75e2ee16ed30b1c11fa 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)
 {