* apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove
authorPer Bothner <per@bothner.com>
Thu, 15 Oct 1992 22:15:14 +0000 (22:15 +0000)
committerPer Bothner <per@bothner.com>
Thu, 15 Oct 1992 22:15:14 +0000 (22:15 +0000)
no-longer-used definitions of L_SET and L_INCR.
* i386linux.h:  Tweaks to smooth Linux build.

bfd/hosts/apollo68.h
bfd/hosts/apollov68.h
bfd/hosts/hp300.h
bfd/hosts/i386v.h
bfd/hosts/irix3.h

index ce68846bed901ca015a1380d663fec5533e55c31..b9900d65a9f01b634eff5fc0060f850e33ffe2b1 100644 (file)
 #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));
index 13793ffab8e477fa87a9d011df43940522b32f0a..e425310326eebaf86aedb646978750253dbdf46a 100644 (file)
 
 #include <string.h>
 
-/*
- * 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));
index 9e5c4a3308f3f1c72695b48a5873e84603427b11..629d8327c4bd7d1c1645da25ee1223c8959b6984 100644 (file)
@@ -37,18 +37,6 @@ rename(from, to)
 #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 */
index 328703be941ce0d81b504e917e6a5fdfbbf79714..66dfd6b81022963146a9df78ace2e6c570d87528 100644 (file)
 #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
 #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));
index 2af77ba6f637dfba4b958a11e752d69c8e168329..1ae0a584a1b0f41ae5edc4dfcc5505654d076f7b 100644 (file)
 #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
This page took 0.029891 seconds and 4 git commands to generate.