summaryrefslogtreecommitdiffstats
path: root/gcc/fixinc/tests
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/tests')
-rw-r--r--gcc/fixinc/tests/base/testing.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/fixinc/tests/base/testing.h b/gcc/fixinc/tests/base/testing.h
index 06dffa9c7f7..c979414a6f6 100644
--- a/gcc/fixinc/tests/base/testing.h
+++ b/gcc/fixinc/tests/base/testing.h
@@ -22,6 +22,15 @@ BSD43__IOWR('T', 1) /* Some are multi-line */
#endif /* IO_QUOTES_USE_CHECK */
+#if defined( LIBC1_IFDEFD_MEMX_CHECK )
+#if defined(__STDC__) && __GNUC__ < 2 || defined(__cplusplus)
+/* Copy N bytes of SRC to DEST. */
+extern __ptr_t memcpy __P ((__ptr_t __dest, __const __ptr_t __src,
+ size_t __n));
+#endif
+#endif /* LIBC1_IFDEFD_MEMX_CHECK */
+
+
#if defined( MACHINE_NAME_CHECK )
/* MACH_DIFF: */
#if defined( __i386__ ) || defined( sparc ) || defined( vax )
OpenPOWER on IntegriCloud