summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-28 10:46:15 +0100
committerJunio C Hamano <junkio@cox.net>2005-11-28 10:46:15 +0100
commit0dccc7dceef03e4231b24c9e126110b338e1c1e1 (patch)
tree38a016a5339989cfb8407abb686a32d2c8fc0281 /config.c
parentmailinfo: Do not use -u=<encoding>; say --encoding=<encoding> (diff)
downloadgit-0dccc7dceef03e4231b24c9e126110b338e1c1e1.tar.xz
git-0dccc7dceef03e4231b24c9e126110b338e1c1e1.zip
config.c: constness tightening to avoid compilation warning.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 152fa282f0..34584f62b4 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)
{