From: Per Bothner Date: Thu, 15 Oct 1992 22:15:14 +0000 (+0000) Subject: * apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove X-Git-Tag: gdb-4_18~20831 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1067cb773a6702487ccf321821ab8a1ecb52ab78;p=platform%2Fupstream%2Fbinutils.git * apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove no-longer-used definitions of L_SET and L_INCR. * i386linux.h: Tweaks to smooth Linux build. --- diff --git a/bfd/hosts/apollo68.h b/bfd/hosts/apollo68.h index ce68846..b9900d6 100644 --- a/bfd/hosts/apollo68.h +++ b/bfd/hosts/apollo68.h @@ -17,10 +17,6 @@ #define MAXPATHLEN 1024 #endif /* MAXPATHLEN */ -#ifndef L_SET -# define L_SET 0 -#endif - #ifndef DONTDECLARE_MALLOC extern PTR EXFUN(malloc,(unsigned)); extern PTR EXFUN(realloc, (PTR, unsigned)); diff --git a/bfd/hosts/apollov68.h b/bfd/hosts/apollov68.h index 13793ff..e425310 100644 --- a/bfd/hosts/apollov68.h +++ b/bfd/hosts/apollov68.h @@ -28,22 +28,6 @@ #include -/* - * Might not need these. Leave them out for now. - * -#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 - */ - #ifndef DONTDECLARE_MALLOC extern PTR EXFUN(malloc,(unsigned)); extern PTR EXFUN(realloc, (PTR, unsigned)); diff --git a/bfd/hosts/hp300.h b/bfd/hosts/hp300.h index 9e5c4a3..629d832 100644 --- a/bfd/hosts/hp300.h +++ b/bfd/hosts/hp300.h @@ -37,18 +37,6 @@ rename(from, to) #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 */ diff --git a/bfd/hosts/i386v.h b/bfd/hosts/i386v.h index 328703b..66dfd6b 100644 --- a/bfd/hosts/i386v.h +++ b/bfd/hosts/i386v.h @@ -16,10 +16,6 @@ #define SEEK_CUR 1 #endif -#ifndef L_SET -# define L_SET SEEK_SET -#endif - #define POSIX_UTIME /* Some things that need to be defined in order to make code written for @@ -34,22 +30,6 @@ #define index(s,c) strchr(s,c) #define rindex(s,c) strrchr(s,c) -/* - * Might not need these. Leave them out for now. - * -#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 - */ - #ifndef DONTDECLARE_MALLOC extern PTR EXFUN(malloc,(unsigned)); extern PTR EXFUN(realloc, (PTR, unsigned)); diff --git a/bfd/hosts/irix3.h b/bfd/hosts/irix3.h index 2af77ba..1ae0a58 100644 --- a/bfd/hosts/irix3.h +++ b/bfd/hosts/irix3.h @@ -17,13 +17,6 @@ #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) #endif -#ifdef SEEK_SET -# ifndef L_SET -# define L_SET SEEK_SET -# endif -# endif - - #if !defined (SEEK_SET) #define SEEK_SET 0 #define SEEK_CUR 1