aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.c2
-rw-r--r--fetchmail.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index d0208711..64b9b189 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -124,7 +124,7 @@ static RETSIGTYPE donothing(int sig)
lastsig = sig;
}
-char *iana_charset;
+const char *iana_charset;
int main(int argc, char **argv)
{
diff --git a/fetchmail.h b/fetchmail.h
index 8b14e918..afb976d2 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -420,7 +420,7 @@ extern char *sdps_envfrom;
extern char *sdps_envto;
#endif /* SDPS_ENABLE */
-extern char *iana_charset; /* IANA assigned charset name */
+extern const char *iana_charset; /* IANA assigned charset name */
/* from ucs/norm_charmap.c */
const char *norm_charmap(const char *name);