aboutsummaryrefslogtreecommitdiffstats
path: root/ucs/norm_charmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ucs/norm_charmap.c')
-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;