summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-11-28 01:46:15 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-28 01:46:15 -0800
commit0dccc7dceef03e4231b24c9e126110b338e1c1e1 (patch)
tree38a016a5339989cfb8407abb686a32d2c8fc0281
parentmailinfo: Do not use -u=<encoding>; say --encoding=<encoding> (diff)
downloadtgif-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 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)
{