about summary refs log tree commit diff
path: root/intl/finddomain.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-05 05:52:11 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-05 05:52:11 +0000
commit61402fd68972a73caa984ab03199bf05e18b73e5 (patch)
tree8438ac7b2ba82a76226bb2588a74c33ee629f578 /intl/finddomain.c
parent03fbfeb50862cc05552c55c20207d54889416628 (diff)
downloadglibc-61402fd68972a73caa984ab03199bf05e18b73e5.tar.gz
glibc-61402fd68972a73caa984ab03199bf05e18b73e5.tar.xz
glibc-61402fd68972a73caa984ab03199bf05e18b73e5.zip
Update.
2000-07-31  Bruno Haible  <haible@clisp.cons.org>

	* intl/plural.y: Include config.h. Needed to define 'inline' away for
	C compilers that don't support it.
	(yylex): Don't use gcc specific case range syntax.
	* intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
	compilers.

2000-10-12  Bruno Haible  <haible@clisp.cons.org>

	* intl/finddomain.c: Remove unneeded includes.

2000-10-12  Bruno Haible  <haible@clisp.cons.org>

	* intl/localealias.c (memcpy): Return first argument, just like the
	real memcpy function does.
	* intl/bindtextdom.c (memcpy): Likewise.
	* intl/finddomain.c (memcpy): Likewise.
	* intl/l10nflist.c (memcpy): Likewise.
	* intl/textdomain.c (memcpy): Likewise.
	From Paul Eggert <eggert@twinsun.com>.
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r--intl/finddomain.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c
index dc215ad126..1109c5ebc0 100644
--- a/intl/finddomain.c
+++ b/intl/finddomain.c
@@ -21,8 +21,6 @@
 # include <config.h>
 #endif
 
-#include <ctype.h>
-#include <errno.h>
 #include <stdio.h>
 #include <sys/types.h>
 
@@ -41,7 +39,7 @@ void free ();
 #else
 # include <strings.h>
 # ifndef memcpy
-#  define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num)
+#  define memcpy(Dst, Src, Num) (bcopy (Src, Dst, Num), (Dst))
 # endif
 #endif