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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b85bd0c18276a458187ab8a65fc8729b237c3775;p=binutils-gdb.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 250e5738628..631afeee488 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 08e08140c30..1d73c3fa715 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;