aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
index 15e930360f..b7e7692c89 100644
--- a/iconv/gconv_conf.c
+++ b/iconv/gconv_conf.c
@@ -351,7 +351,7 @@ read_conf_file (const char *filename, const char *directory, size_t dir_len,
FILE *fp = fopen (filename, "r");
char *line = NULL;
size_t line_len = 0;
- int modcounter = 0;
+ static int modcounter;
/* Don't complain if a file is not present or readable, simply silently
ignore it. */