summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-28 09:46:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-28 09:46:15 (GMT)
commit0dccc7dceef03e4231b24c9e126110b338e1c1e1 (patch)
tree38a016a5339989cfb8407abb686a32d2c8fc0281
parent9f63892b3803701c97259d51143e199fe9603d3f (diff)
downloadgit-0dccc7dceef03e4231b24c9e126110b338e1c1e1.zip
git-0dccc7dceef03e4231b24c9e126110b338e1c1e1.tar.gz
git-0dccc7dceef03e4231b24c9e126110b338e1c1e1.tar.bz2
config.c: constness tightening to avoid compilation warning.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 152fa28..34584f6 100644
--- 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)
{