diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-28 04:05:46 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-28 04:05:46 +0000 |
commit | f73397be837d3dc56a1be1e904924b83246e9972 (patch) | |
tree | ad880e4fb4863f96b6482ebe2c3b2f88f8b9d60e /gcc/system.h | |
parent | 644c283b8e75bb5168355e9f9be7209cd23aab04 (diff) | |
download | gcc-f73397be837d3dc56a1be1e904924b83246e9972.tar.gz |
* configure.in: Don't check for bcopy.
* configure, config.in: Regenerate.
* system.h: Don't define or prototype bcopy, instead poison it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40898 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/gcc/system.h b/gcc/system.h index 516ad5c3025..039e0e420ac 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 */ |