From 1067cb773a6702487ccf321821ab8a1ecb52ab78 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Thu, 15 Oct 1992 22:15:14 +0000 Subject: [PATCH] * 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. --- bfd/hosts/apollo68.h | 4 ---- bfd/hosts/apollov68.h | 16 ---------------- bfd/hosts/hp300.h | 12 ------------ bfd/hosts/i386v.h | 20 -------------------- bfd/hosts/irix3.h | 7 ------- 5 files changed, 59 deletions(-) diff --git a/bfd/hosts/apollo68.h b/bfd/hosts/apollo68.h index ce68846bed..b9900d65a9 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 13793ffab8..e425310326 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 9e5c4a3308..629d8327c4 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 328703be94..66dfd6b810 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 2af77ba6f6..1ae0a584a1 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 -- 2.34.1