diff options
Diffstat (limited to 'intl')
-rw-r--r-- | intl/bindtextdom.c | 7 | ||||
-rw-r--r-- | intl/dcgettext.c | 3 | ||||
-rw-r--r-- | intl/finddomain.c | 5 | ||||
-rw-r--r-- | intl/l10nflist.c | 3 | ||||
-rw-r--r-- | intl/localealias.c | 3 | ||||
-rw-r--r-- | intl/textdomain.c | 3 |
6 files changed, 20 insertions, 4 deletions
diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c index 79195b3..b8f22b6 100644 --- a/intl/bindtextdom.c +++ b/intl/bindtextdom.c @@ -1,5 +1,5 @@ -/* bindtextdom.c -- implementation of the bindtextdomain(3) function - Copyright (C) 1995, 1997 Free Software Foundation, Inc. +/* Implementation of the bindtextdomain(3) function + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. The master source lives in /gd/gnu/lib. @@ -37,6 +37,9 @@ void free (); # include <string.h> #else # include <strings.h> +# ifndef memcpy +# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# endif #endif #ifdef _LIBC diff --git a/intl/dcgettext.c b/intl/dcgettext.c index 948d0a7..152acef 100644 --- a/intl/dcgettext.c +++ b/intl/dcgettext.c @@ -545,7 +545,8 @@ category_to_name (category) } /* Guess value of current locale from value of the environment variables. */ -static const char *guess_category_value (category, categoryname) +static const char * +guess_category_value (category, categoryname) int category; const char *categoryname; { diff --git a/intl/finddomain.c b/intl/finddomain.c index 9b531c4..27163a6 100644 --- a/intl/finddomain.c +++ b/intl/finddomain.c @@ -1,4 +1,4 @@ -/* finddomain.c -- handle list of needed message catalogs +/* 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. @@ -43,6 +43,9 @@ void free (); # include <string.h> #else # include <strings.h> +# ifndef memcpy +# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# endif #endif #if !HAVE_STRCHR && !defined _LIBC # ifndef strchr diff --git a/intl/l10nflist.c b/intl/l10nflist.c index 4f45d3d..bda2105 100644 --- a/intl/l10nflist.c +++ b/intl/l10nflist.c @@ -31,6 +31,9 @@ # include <string.h> #else # include <strings.h> +# ifndef memcpy +# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# endif #endif #if !HAVE_STRCHR && !defined _LIBC # ifndef strchr diff --git a/intl/localealias.c b/intl/localealias.c index 420a255..4547873 100644 --- a/intl/localealias.c +++ b/intl/localealias.c @@ -62,6 +62,9 @@ void free (); # include <string.h> #else # include <strings.h> +# ifndef memcpy +# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# endif #endif #if !HAVE_STRCHR && !defined _LIBC # ifndef strchr diff --git a/intl/textdomain.c b/intl/textdomain.c index 4775e36..bad9d16 100644 --- a/intl/textdomain.c +++ b/intl/textdomain.c @@ -31,6 +31,9 @@ # include <string.h> #else # include <strings.h> +# ifndef memcpy +# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# endif #endif #ifdef _LIBC |