Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
50677210
Commit
50677210
authored
Nov 18, 2002
by
Dave Love
Browse files
(bcopy, bzero, bcmp): Don't define.
parent
e0db4f14
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
39 deletions
+0
-39
src/m/hp800.h
src/m/hp800.h
+0
-10
src/m/ns16000.h
src/m/ns16000.h
+0
-9
src/m/sr2k.h
src/m/sr2k.h
+0
-10
src/m/wicat.h
src/m/wicat.h
+0
-10
No files found.
src/m/hp800.h
View file @
50677210
...
...
@@ -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. */
...
...
src/m/ns16000.h
View file @
50677210
...
...
@@ -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
...
...
src/m/sr2k.h
View file @
50677210
...
...
@@ -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
...
...
src/m/wicat.h
View file @
50677210
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment