changeset 48438:874e8459e48a

(bcopy, bzero, bcmp): Don't define.
author Dave Love <fx@gnu.org>
date Mon, 18 Nov 2002 16:45:33 +0000
parents afd7531a5181
children 5226a8781f6a
files src/m/hp800.h src/m/ns16000.h src/m/sr2k.h src/m/wicat.h
diffstat 4 files changed, 0 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/hp800.h	Mon Nov 18 16:44:04 2002 +0000
+++ b/src/m/hp800.h	Mon Nov 18 16:45:33 2002 +0000
@@ -74,16 +74,6 @@
 #if 0  /* Loses when sign bit of type field is set.  */
 #define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
 #endif
-
-/* Define the BSTRING functions in terms of the sysV functions. */
-/* On HPUX 8.05, including types.h can include strings.h
-   which declares these as functions.  Hence the #ifndef.  */
-
-#ifndef HAVE_BCOPY
-#define bcopy(a,b,s)	memcpy (b,a,s)
-#define bzero(a,s)	memset (a,0,s)
-#define bcmp		memcmp
-#endif
 
 /* Common definitions for HPUX and GNU/Linux.  */
 
--- a/src/m/ns16000.h	Mon Nov 18 16:44:04 2002 +0000
+++ b/src/m/ns16000.h	Mon Nov 18 16:45:33 2002 +0000
@@ -85,15 +85,6 @@
 #undef BSTRING
 #define BSTRING
 
-/* Macro definitions to emulate BSD functions with SysV ones */
-#undef bcopy
-#undef bzero
-#undef bcmp
-
-#define bcopy(a,b,s)	memcpy(b,a,s)
-#define bzero(a,s)	memset(a,0,s)
-#define bcmp		memcmp
-
 /* This avoids problems with uninitialized static variables going in .data.  */
 #define static
 
--- a/src/m/sr2k.h	Mon Nov 18 16:44:04 2002 +0000
+++ b/src/m/sr2k.h	Mon Nov 18 16:45:33 2002 +0000
@@ -74,16 +74,6 @@
 #if 0  /* Loses when sign bit of type field is set.  */
 #define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
 #endif
-
-/* Define the BSTRING functions in terms of the sysV functions. */
-/* On HPUX 8.05, including types.h can include strings.h
-   which declares these as functions.  Hence the #ifndef.  */
-
-#ifndef HAVE_BCOPY
-#define bcopy(a,b,s)	memcpy (b,a,s)
-#define bzero(a,s)	memset (a,0,s)
-#define bcmp		memcmp
-#endif
 
 /* #ifdef __hpux */
 /* Now define a symbol for the cpu type, if your compiler
--- a/src/m/wicat.h	Mon Nov 18 16:44:04 2002 +0000
+++ b/src/m/wicat.h	Mon Nov 18 16:45:33 2002 +0000
@@ -111,16 +111,6 @@
 
 #undef BSTRING
 
-#ifdef BSTRING
-#undef bcopy
-#undef bzero
-#undef bcmp
-
-#define bcopy(a,b,s)	memcpy(b,a,s)
-#define bzero(a,s)	memset(a,0,s)
-#define bcmp		memcmp
-#endif
-
 /*
  * Define optimflags if you want to optimize.
  *	- Set to null string for pre-4.2 C compiler