diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-06 09:25:16 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-06 09:25:16 +0000 |
commit | 1704bc4af0dc91429d3b0f1c95a3b191da9500a2 (patch) | |
tree | 5254ed03752711c180fe7b0b7997af811aeffd2b /gcc/fold-const.c | |
parent | e9066da87cda99cabe50ddecb5313fa3f3119d72 (diff) | |
download | gcc-1704bc4af0dc91429d3b0f1c95a3b191da9500a2.tar.gz |
Some fixes for KNR compilers:
* gencheck.c: Remove redundant stdio.h include. Add a definition
of xmalloc for when we are forced to link with alloca.o.
* reload1.c (reload_reg_free_for_value_p): Use `(unsigned)1'
instead of `1U'.
* fold-const.c (constant_boolean_node): Make definition static to
match the prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20261 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index d8477645c53..5daa253a449 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -3740,7 +3740,7 @@ strip_compound_expr (t, s) /* Return a node which has the indicated constant VALUE (either 0 or 1), and is of the indicated TYPE. */ -tree +static tree constant_boolean_node (value, type) int value; tree type; |