diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-30 13:15:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-30 13:15:50 +0000 |
commit | 488b6822ba8a60197094d8a368de2942f0e34fc3 (patch) | |
tree | 60652f56362a517af8d359c2f9c4b634eaf4f0d4 /intl/finddomain.c | |
parent | f39b11912d062305ebd79f1ef6a94239ba36b6b8 (diff) | |
download | idutils-488b6822ba8a60197094d8a368de2942f0e34fc3.tar.gz idutils-488b6822ba8a60197094d8a368de2942f0e34fc3.tar.bz2 idutils-488b6822ba8a60197094d8a368de2942f0e34fc3.zip |
update from gettext-0.10.10.
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r-- | intl/finddomain.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c index d1669f4..e41833e 100644 --- a/intl/finddomain.c +++ b/intl/finddomain.c @@ -20,6 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # include <config.h> #endif +#include <ctype.h> #include <errno.h> #include <stdio.h> #include <sys/types.h> @@ -63,7 +64,7 @@ void free (); /* 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 __stpcpy +# define stpcpy(dest, src) __stpcpy(dest, src) #endif /* Encoding of locale name parts. */ @@ -102,7 +103,8 @@ static const char *normalize_codeset PARAMS ((const char *codeset)); /* Substitution for systems lacking this function in their C library. */ #if !_LIBC && !HAVE_STPCPY -static char *stpcpy PARAMS ((char *dest, const char *src)); +static char *stpcpy__ PARAMS ((char *dest, const char *src)); +# define stpcpy(dest, src) stpcpy__ (dest, src) #endif @@ -562,7 +564,7 @@ normalize_codeset (codeset) to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * -stpcpy (dest, src) +stpcpy__ (dest, src) char *dest; const char *src; { |