summaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-11-09 07:45:15 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2000-11-09 07:45:15 +0000
commit2e09e75ade29bde9224eea1629ed0091f74e7a08 (patch)
treea19a7f9c7c509696e4e2ed16a5ea0eeff9cc070d /gcc/system.h
parent03fb4780dfb30b188eba1631ef4ab92112c8f4e1 (diff)
downloadgcc-2e09e75ade29bde9224eea1629ed0091f74e7a08.tar.gz
calls.c (expand_call, [...]): Use memcpy () instead of bcopy ().
* calls.c (expand_call, emit_library_call_value_1), collect2.c (scan_prog_file), config/a29k/a29k.c (print_operand), config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy () instead of bcopy (). * real.h: Use memcmp () instead of bcmp (). * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c (split_branches), config/sparc/sparc.c (ultra_flush_pipeline, ultrasparc_sched_init, ultrasparc_sched_reorder), config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset () instead of bzero (). * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr () instead of rindex (). * configure.in: Don't check for bzero, bcmp, index or rindex. * configure, config.in: Regenerate. * system.h: Don't include declarations for bzero, bcmp, index or rindex. * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define bzero, bcmp, index or rindex. java: * parse.y (create_new_parser_context): Use memset () instead of bzero (). From-SVN: r37334
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 0021a57b27a..f0b7b649f8a 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -336,46 +336,6 @@ extern void bcopy PARAMS ((const PTR, PTR, size_t));
# endif
#endif
-#ifndef bcmp
-# ifdef HAVE_BCMP
-# if defined (HAVE_DECL_BCMP) && !HAVE_DECL_BCMP
-extern int bcmp PARAMS ((const PTR, const PTR, size_t));
-# endif
-# else /* ! HAVE_BCMP */
-# define bcmp(left,right,len) memcmp ((left),(right),(len))
-# endif
-#endif
-
-#ifndef bzero
-# ifdef HAVE_BZERO
-# if defined (HAVE_DECL_BZERO) && !HAVE_DECL_BZERO
-extern void bzero PARAMS ((PTR, size_t));
-# endif
-# else /* ! HAVE_BZERO */
-# define bzero(dst,len) memset ((dst),0,(len))
-# endif
-#endif
-
-#ifndef index
-# ifdef HAVE_INDEX
-# if defined (HAVE_DECL_INDEX) && !HAVE_DECL_INDEX
-extern char *index PARAMS ((const char *, int));
-# endif
-# else /* ! HAVE_INDEX */
-# define index strchr
-# endif
-#endif
-
-#ifndef rindex
-# ifdef HAVE_RINDEX
-# if defined (HAVE_DECL_RINDEX) && !HAVE_DECL_RINDEX
-extern char *rindex PARAMS ((const char *, int));
-# endif
-# else /* ! HAVE_RINDEX */
-# define rindex strrchr
-# endif
-#endif
-
#if defined (HAVE_DECL_ATOF) && !HAVE_DECL_ATOF
extern double atof PARAMS ((const char *));
#endif