aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-11-07 23:46:37 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-11-07 23:46:37 +0000
commit708445ee00b737963b784ed422c785c311977919 (patch)
tree63a3f27bd132b8f30b56ec3fd2be734ea3a90938
parent5a713434117bae25c223d93166dcc9b840d3c156 (diff)
downloadfetchmail-708445ee00b737963b784ed422c785c311977919.tar.gz
fetchmail-708445ee00b737963b784ed422c785c311977919.tar.bz2
fetchmail-708445ee00b737963b784ed422c785c311977919.zip
Include config.h just in case compiler doesn't know const.
Make argument and return value const. svn path=/trunk/; revision=3978
-rw-r--r--ucs/norm_charmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ucs/norm_charmap.c b/ucs/norm_charmap.c
index 30204871..2905e226 100644
--- a/ucs/norm_charmap.c
+++ b/ucs/norm_charmap.c
@@ -24,6 +24,8 @@
* http://www.cl.cam.ac.uk/~mgk25/ucs/norm_charmap.c
*/
+#include "config.h" /* import AC_C_CONST effects */
+
#include <string.h>
#ifdef TEST
@@ -36,7 +38,7 @@
static char buf[16];
-char *norm_charmap(char *name)
+const char *norm_charmap(const char *name)
{
char *p;