diff options
author | John Gilmore <gnu@cygnus> | 1992-09-26 11:00:36 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-09-26 11:00:36 +0000 |
commit | b85bd0c18276a458187ab8a65fc8729b237c3775 (patch) | |
tree | 885fbfc0d4b344ce088cd2d32ae439959f293441 /bfd/hosts | |
parent | 084c7d436958d8d015667f991cf9ab308690ca3d (diff) | |
download | fsf-binutils-gdb-b85bd0c18276a458187ab8a65fc8729b237c3775.zip fsf-binutils-gdb-b85bd0c18276a458187ab8a65fc8729b237c3775.tar.gz fsf-binutils-gdb-b85bd0c18276a458187ab8a65fc8729b237c3775.tar.bz2 |
* config/hppabsd.mh, config.hppahpux.mh: Remove various bogosity.
* hosts/hppahpux.h: Remove bcopy and index circumventions.
Diffstat (limited to 'bfd/hosts')
-rw-r--r-- | bfd/hosts/hppahpux.h | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/bfd/hosts/hppahpux.h b/bfd/hosts/hppahpux.h index 08e0814..1d73c3f 100644 --- a/bfd/hosts/hppahpux.h +++ b/bfd/hosts/hppahpux.h @@ -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; |