From 842d0295a1656d82eff7395682371390f3962e95 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 29 Apr 1998 10:16:38 +0000 Subject: Update. * intl/localealias.c (read_alias_file): Use unsigned char for local variables. Remove unused variable tp. * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * for type of codeset. For loosing Solaris systems. * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable len if not needed. Patches by Jim Meyering. --- intl/bindtextdom.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intl/bindtextdom.c') diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c index 3862544..be78ae0 100644 --- a/intl/bindtextdom.c +++ b/intl/bindtextdom.c @@ -139,7 +139,9 @@ BINDTEXTDOMAIN (domainname, dirname) else { /* We have to create a new binding. */ +#if !defined _LIBC && !defined HAVE_STRDUP size_t len; +#endif struct binding *new_binding = (struct binding *) malloc (sizeof (*new_binding)); -- cgit v1.1