# HG changeset patch # User Dave Love # Date 1037637933 0 # Node ID 874e8459e48aa2d894bd862882f8746d113ac629 # Parent afd7531a5181f8e8f34a7480020d42c66878e96b (bcopy, bzero, bcmp): Don't define. diff -r afd7531a5181 -r 874e8459e48a src/m/hp800.h --- 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. */ diff -r afd7531a5181 -r 874e8459e48a src/m/ns16000.h --- 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 diff -r afd7531a5181 -r 874e8459e48a src/m/sr2k.h --- 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 diff -r afd7531a5181 -r 874e8459e48a src/m/wicat.h --- 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