This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
The unrelated fixes that crept into the "no TRUE and FALSE" patch
- To: gcc-patches at gcc dot gnu dot org
- Subject: The unrelated fixes that crept into the "no TRUE and FALSE" patch
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Tue, 27 Feb 2001 18:52:38 -0800
These are the unrelated fixes that crept into the "no TRUE and FALSE"
patch. I'm applying them separately since that patch is
controversial.
zw
* mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
* pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
===================================================================
Index: config/mips/xm-iris4.h
--- config/mips/xm-iris4.h 1998/12/16 21:10:03 1.2
+++ config/mips/xm-iris4.h 2001/02/28 02:06:58
@@ -1,13 +1,3 @@
#include "mips/xm-mips.h"
#define USG
-
-#if 0
-#ifdef __GNUC__
-/* The normal irix compiler requires alloca.h or alloca doesn't work.
- However, the IRIX compiler doesn't allow alloca to be stored in
- something like ptr->field = alloca(), so we just use the normal
- C alloca. */
-#include <alloca.h>
-#endif
-#endif
===================================================================
Index: config/pa/xm-linux.h
--- config/pa/xm-linux.h 1999/09/04 15:09:00 1.2
+++ config/pa/xm-linux.h 2001/02/28 02:06:59
@@ -18,9 +18,6 @@ along with GNU CC; see the file COPYING.
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-
-extern int errno;
-
/* #defines that need visibility everywhere. */
#define FALSE 0
#define TRUE 1
===================================================================
Index: config/pa/xm-pa.h
--- config/pa/xm-pa.h 1999/12/28 16:36:09 1.4
+++ config/pa/xm-pa.h 2001/02/28 02:06:59
@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING.
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-extern int errno;
-
/* #defines that need visibility everywhere. */
#define FALSE 0
#define TRUE 1
===================================================================
Index: config/pa/xm-papro.h
--- config/pa/xm-papro.h 1999/12/28 16:36:09 1.4
+++ config/pa/xm-papro.h 2001/02/28 02:06:59
@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING.
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-extern int errno;
-
/* #defines that need visibility everywhere. */
#define FALSE 0
#define TRUE 1