* config/hppabsd.mh, config.hppahpux.mh: Remove various bogosity.
authorJohn Gilmore <gnu@cygnus>
Sat, 26 Sep 1992 11:00:36 +0000 (11:00 +0000)
committerJohn Gilmore <gnu@cygnus>
Sat, 26 Sep 1992 11:00:36 +0000 (11:00 +0000)
* hosts/hppahpux.h:  Remove bcopy and index circumventions.

bfd/ChangeLog
bfd/hosts/hppahpux.h

index 250e573..631afee 100644 (file)
@@ -1,3 +1,8 @@
+Sat Sep 26 03:58:49 1992  John Gilmore  (gnu@cygnus.com)
+
+       * config/hppabsd.mh, config.hppahpux.mh:  Remove various bogosity.
+       * hosts/hppahpux.h:  Remove bcopy and index circumventions.
+
 Fri Sep 25 22:36:52 1992  John Gilmore  (gnu@cygnus.com)
 
        * coff-z8k.c (func_da, func_jr):  Lint.
index 08e0814..1d73c3f 100644 (file)
@@ -6,6 +6,7 @@
 #include <ctype.h>
 #include <string.h>
 #include <sys/file.h>
+#include <memory.h>
 
 void free();
 
@@ -15,17 +16,6 @@ void free();
 #define SEEK_SET 0
 #define SEEK_CUR 1
 
-/*
- * Some things that need to be defined in order to make code written for
- * BSD Unix compile under System V ("USG") Unix.  This file should be
- * conditionally included in the source.
- */
-
-#include <memory.h>
-#define bcmp(b1,b2,len)                memcmp(b1,b2,len)
-#define bcopy(src,dst,len)     memcpy(dst,src,len)
-#define bzero(s,n)             memset(s,0,n)
-
 #if 0
 static int
 rename(from, to)
@@ -35,26 +25,6 @@ rename(from, to)
 }
 #endif
 
-/*
- * Might not need these. Leave them out for now.
- *
-#include <string.h>
-#define index(s,c)             strchr(s,c)
-#define rindex(s,c)            strrchr(s,c)
-
-#ifdef SEEK_SET
-#      ifndef L_SET
-#              define L_SET SEEK_SET
-#      endif
-# endif
-
-#ifdef SEEK_CUR
-#      ifndef L_INCR
-#              define L_INCR SEEK_CUR
-#      endif
-# endif
- */
-
 /* EXACT TYPES */
 typedef char int8e_type;
 typedef unsigned char uint8e_type;