Commit 50677210 authored by Dave Love's avatar Dave Love
Browse files

(bcopy, bzero, bcmp): Don't define.

parent e0db4f14
...@@ -74,16 +74,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -74,16 +74,6 @@ Boston, MA 02111-1307, USA. */
#if 0 /* Loses when sign bit of type field is set. */ #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)) #define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
#endif #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. */ /* Common definitions for HPUX and GNU/Linux. */
......
...@@ -85,15 +85,6 @@ NOTE-END */ ...@@ -85,15 +85,6 @@ NOTE-END */
#undef BSTRING #undef BSTRING
#define 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. */ /* This avoids problems with uninitialized static variables going in .data. */
#define static #define static
......
...@@ -74,16 +74,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -74,16 +74,6 @@ Boston, MA 02111-1307, USA. */
#if 0 /* Loses when sign bit of type field is set. */ #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)) #define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
#endif #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 */ /* #ifdef __hpux */
/* Now define a symbol for the cpu type, if your compiler /* Now define a symbol for the cpu type, if your compiler
......
...@@ -111,16 +111,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -111,16 +111,6 @@ Boston, MA 02111-1307, USA. */
#undef BSTRING #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. * Define optimflags if you want to optimize.
* - Set to null string for pre-4.2 C compiler * - Set to null string for pre-4.2 C compiler
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment