From: Dave Love Date: Mon, 18 Nov 2002 16:45:33 +0000 (+0000) Subject: (bcopy, bzero, bcmp): Don't define. X-Git-Tag: ttn-vms-21-2-B4~12352 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5067721060dfcbba9b173bbc94c1277799ce1b5f;p=emacs.git (bcopy, bzero, bcmp): Don't define. --- diff --git a/src/m/hp800.h b/src/m/hp800.h index d20abeb24ee..72c3a1ca4ea 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h @@ -74,16 +74,6 @@ Boston, MA 02111-1307, USA. */ #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 --git a/src/m/ns16000.h b/src/m/ns16000.h index c9cf4005263..e6cbe6cee6f 100644 --- a/src/m/ns16000.h +++ b/src/m/ns16000.h @@ -85,15 +85,6 @@ NOTE-END */ #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 --git a/src/m/sr2k.h b/src/m/sr2k.h index 7aed1348377..5013d1249fc 100644 --- a/src/m/sr2k.h +++ b/src/m/sr2k.h @@ -74,16 +74,6 @@ Boston, MA 02111-1307, USA. */ #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 --git a/src/m/wicat.h b/src/m/wicat.h index b361418c8d8..e361d09164d 100644 --- a/src/m/wicat.h +++ b/src/m/wicat.h @@ -111,16 +111,6 @@ Boston, MA 02111-1307, USA. */ #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