aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/fixinc/fixlib.h4
-rw-r--r--gcc/fixinc/server.c4
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7c2ddeb..c81260a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2001-03-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
+ * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
+ t_bool in declaration because pcc can't combine volatile with typedef
+ types.
+
Sat Mar 3 19:47:13 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_expand_fp_compare): Delay creating of scratch register
diff --git a/gcc/fixinc/fixlib.h b/gcc/fixinc/fixlib.h
index 4490d20..166995c 100644
--- a/gcc/fixinc/fixlib.h
+++ b/gcc/fixinc/fixlib.h
@@ -3,7 +3,7 @@
files which are fixed to work correctly with ANSI C and placed in a
directory that GNU C will search.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -88,7 +88,7 @@ typedef int t_success;
#define IGNORE_ARG(a) ((void)(a))
-typedef enum
+typedef enum t_bool
{
BOOL_FALSE, BOOL_TRUE
} t_bool;
diff --git a/gcc/fixinc/server.c b/gcc/fixinc/server.c
index e32576f..76785e1 100644
--- a/gcc/fixinc/server.c
+++ b/gcc/fixinc/server.c
@@ -2,7 +2,7 @@
/*
* server.c Set up and handle communications with a server process.
*
- * Server Handling copyright 1992-1999 The Free Software Foundation
+ * Server Handling copyright 1992-1999, 2001 The Free Software Foundation
*
* Server Handling is free software.
* You may redistribute it and/or modify it under the terms of the
@@ -57,7 +57,7 @@
# define volatile
#endif
-STATIC volatile t_bool read_pipe_timeout;
+STATIC volatile enum t_bool read_pipe_timeout;
STATIC pid_t server_master_pid = NOPROCESS;
tSCC* def_args[] =