diff options
author | Ben Elliston <bje@au.ibm.com> | 2001-11-29 03:38:59 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2001-11-29 03:38:59 +0000 |
commit | 1491f078cfe48411f5e046fa25bbe7cb1b2d57db (patch) | |
tree | 384bb70ec362537a22be5c2edbb5ab294a8d532e /intl/l10nflist.c | |
parent | ba73e5c0425a23d60c2553775eaf1b4d921f290e (diff) | |
download | gdb-1491f078cfe48411f5e046fa25bbe7cb1b2d57db.zip gdb-1491f078cfe48411f5e046fa25bbe7cb1b2d57db.tar.gz gdb-1491f078cfe48411f5e046fa25bbe7cb1b2d57db.tar.bz2 |
* Import GNU gettext 0.10.35.
Diffstat (limited to 'intl/l10nflist.c')
-rw-r--r-- | intl/l10nflist.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/intl/l10nflist.c b/intl/l10nflist.c index 4e2bc13..9c7dc18 100644 --- a/intl/l10nflist.c +++ b/intl/l10nflist.c @@ -1,6 +1,6 @@ /* Handle list of needed message catalogs Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. - Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. + Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -65,7 +65,9 @@ /* Rename the non ANSI C functions. This is required by the standard because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ -# define stpcpy(dest, src) __stpcpy(dest, src) +# ifndef stpcpy +# define stpcpy(dest, src) __stpcpy(dest, src) +# endif #else # ifndef HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); @@ -350,7 +352,7 @@ _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, names. */ const char * _nl_normalize_codeset (codeset, name_len) - const char *codeset; + const unsigned char *codeset; size_t name_len; { int len = 0; |