aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2002-11-18 16:45:33 +0000
committerDave Love2002-11-18 16:45:33 +0000
commit5067721060dfcbba9b173bbc94c1277799ce1b5f (patch)
treeb10923e1b8bb7c3ca545120b9c1b54e002a7c982 /src
parente0db4f149c76d0c1e9d838c516ffad12a2f9c4f8 (diff)
downloademacs-5067721060dfcbba9b173bbc94c1277799ce1b5f.tar.gz
emacs-5067721060dfcbba9b173bbc94c1277799ce1b5f.zip
(bcopy, bzero, bcmp): Don't define.
Diffstat (limited to 'src')
-rw-r--r--src/m/hp800.h10
-rw-r--r--src/m/ns16000.h9
-rw-r--r--src/m/sr2k.h10
-rw-r--r--src/m/wicat.h10
4 files changed, 0 insertions, 39 deletions
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. */
74#if 0 /* Loses when sign bit of type field is set. */ 74#if 0 /* Loses when sign bit of type field is set. */
75#define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) 75#define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
76#endif 76#endif
77
78/* Define the BSTRING functions in terms of the sysV functions. */
79/* On HPUX 8.05, including types.h can include strings.h
80 which declares these as functions. Hence the #ifndef. */
81
82#ifndef HAVE_BCOPY
83#define bcopy(a,b,s) memcpy (b,a,s)
84#define bzero(a,s) memset (a,0,s)
85#define bcmp memcmp
86#endif
87 77
88/* Common definitions for HPUX and GNU/Linux. */ 78/* Common definitions for HPUX and GNU/Linux. */
89 79
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 */
85#undef BSTRING 85#undef BSTRING
86#define BSTRING 86#define BSTRING
87 87
88/* Macro definitions to emulate BSD functions with SysV ones */
89#undef bcopy
90#undef bzero
91#undef bcmp
92
93#define bcopy(a,b,s) memcpy(b,a,s)
94#define bzero(a,s) memset(a,0,s)
95#define bcmp memcmp
96
97/* This avoids problems with uninitialized static variables going in .data. */ 88/* This avoids problems with uninitialized static variables going in .data. */
98#define static 89#define static
99 90
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. */
74#if 0 /* Loses when sign bit of type field is set. */ 74#if 0 /* Loses when sign bit of type field is set. */
75#define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) 75#define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
76#endif 76#endif
77
78/* Define the BSTRING functions in terms of the sysV functions. */
79/* On HPUX 8.05, including types.h can include strings.h
80 which declares these as functions. Hence the #ifndef. */
81
82#ifndef HAVE_BCOPY
83#define bcopy(a,b,s) memcpy (b,a,s)
84#define bzero(a,s) memset (a,0,s)
85#define bcmp memcmp
86#endif
87 77
88/* #ifdef __hpux */ 78/* #ifdef __hpux */
89/* Now define a symbol for the cpu type, if your compiler 79/* 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. */
111 111
112#undef BSTRING 112#undef BSTRING
113 113
114#ifdef BSTRING
115#undef bcopy
116#undef bzero
117#undef bcmp
118
119#define bcopy(a,b,s) memcpy(b,a,s)
120#define bzero(a,s) memset(a,0,s)
121#define bcmp memcmp
122#endif
123
124/* 114/*
125 * Define optimflags if you want to optimize. 115 * Define optimflags if you want to optimize.
126 * - Set to null string for pre-4.2 C compiler 116 * - Set to null string for pre-4.2 C compiler