From 708445ee00b737963b784ed422c785c311977919 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 7 Nov 2004 23:46:37 +0000 Subject: Include config.h just in case compiler doesn't know const. Make argument and return value const. svn path=/trunk/; revision=3978 --- ucs/norm_charmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ucs') 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 #ifdef TEST @@ -36,7 +38,7 @@ static char buf[16]; -char *norm_charmap(char *name) +const char *norm_charmap(const char *name) { char *p; -- cgit v1.2.3