From: John Gilmore Date: Sat, 26 Sep 1992 11:00:36 +0000 (+0000) Subject: * config/hppabsd.mh, config.hppahpux.mh: Remove various bogosity. X-Git-Tag: gdb-4_18~20974 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b85bd0c18276a458187ab8a65fc8729b237c3775;p=external%2Fbinutils.git * config/hppabsd.mh, config.hppahpux.mh: Remove various bogosity. * hosts/hppahpux.h: Remove bcopy and index circumventions. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 250e573..631afee 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. 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 #include #include +#include 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 -#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 -#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;