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
This commit is contained in:
John David Anglin 2001-03-03 19:05:00 +00:00 committed by John David Anglin
parent bf71a4f81c
commit f624290705
3 changed files with 11 additions and 4 deletions

View file

@ -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

View file

@ -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;

View file

@ -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[] =