aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-28 01:46:15 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-28 01:46:15 -0800
commit0dccc7dceef03e4231b24c9e126110b338e1c1e1 (patch)
tree38a016a5339989cfb8407abb686a32d2c8fc0281
parent9f63892b3803701c97259d51143e199fe9603d3f (diff)
downloadgit-0dccc7dceef03e4231b24c9e126110b338e1c1e1.tar.gz
git-0dccc7dceef03e4231b24c9e126110b338e1c1e1.tar.xz
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 152fa282f..34584f62b 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)
{