summaryrefslogtreecommitdiff
path: root/gcc/fixinc
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2001-03-03 19:05:00 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2001-03-03 19:05:00 +0000
commitf624290705e4dec86d53bddfe04dc6aec02004eb (patch)
tree2aebc5b0205dcc3e12e99ca0e1fb5ecd3ed48cc4 /gcc/fixinc
parentbf71a4f81cb189fe894b8213753be2c16f31861a (diff)
downloadgcc-f624290705e4dec86d53bddfe04dc6aec02004eb.tar.gz
fixlib.h (t_bool): Add identifier `t_bool' in typedef.
* 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. From-SVN: r40217
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/fixlib.h4
-rw-r--r--gcc/fixinc/server.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fixinc/fixlib.h b/gcc/fixinc/fixlib.h
index 4490d2086ea..166995c9c9b 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 e32576fca51..76785e1fe80 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[] =