aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-03-28 04:05:46 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-03-28 04:05:46 +0000
commit8e9449099d44be617db4eadd9bde42eed41f883b (patch)
treead880e4fb4863f96b6482ebe2c3b2f88f8b9d60e /gcc/system.h
parent695ee791dc1dbae7a86216a69a2a34c8e74f7f9d (diff)
downloadgcc-8e9449099d44be617db4eadd9bde42eed41f883b.zip
gcc-8e9449099d44be617db4eadd9bde42eed41f883b.tar.gz
gcc-8e9449099d44be617db4eadd9bde42eed41f883b.tar.bz2
configure.in: Don't check for bcopy.
* configure.in: Don't check for bcopy. * configure, config.in: Regenerate. * system.h: Don't define or prototype bcopy, instead poison it. From-SVN: r40898
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 516ad5c..039e0e4 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -240,16 +240,6 @@ extern int errno;
here. These checks will be in the undefined state while configure
is running so be careful to test "defined (HAVE_DECL_*)". */
-#ifndef bcopy
-# ifdef HAVE_BCOPY
-# if defined (HAVE_DECL_BCOPY) && !HAVE_DECL_BCOPY
-extern void bcopy PARAMS ((const PTR, PTR, size_t));
-# endif
-# else /* ! HAVE_BCOPY */
-# define bcopy(src,dst,len) memmove((dst),(src),(len))
-# endif
-#endif
-
#if defined (HAVE_DECL_ATOF) && !HAVE_DECL_ATOF
extern double atof PARAMS ((const char *));
#endif
@@ -557,12 +547,13 @@ typedef char _Bool;
#pragma GCC poison malloc realloc calloc strdup
#endif /* IN_GCC */
-/* Note: not all uses of `bcopy' and `index' (esp. variable names)
- have been eliminated. */
+/* Note: not all uses of the `index' token (e.g. variable names and
+ structure members) have been eliminated. */
+#undef bcopy
#undef bzero
#undef bcmp
#undef rindex
- #pragma GCC poison bzero bcmp rindex
+ #pragma GCC poison bcopy bzero bcmp rindex
#endif /* GCC >= 3.0 */