diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-06-06 09:25:16 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-06-06 09:25:16 +0000 |
commit | 83e0821b6037a62cc8b865bfb89e8c4011ecbc96 (patch) | |
tree | 5254ed03752711c180fe7b0b7997af811aeffd2b /gcc/fold-const.c | |
parent | 8db79477cd5af63639b2440fceb76f74afb8b969 (diff) | |
download | gcc-83e0821b6037a62cc8b865bfb89e8c4011ecbc96.zip gcc-83e0821b6037a62cc8b865bfb89e8c4011ecbc96.tar.gz gcc-83e0821b6037a62cc8b865bfb89e8c4011ecbc96.tar.bz2 |
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.
From-SVN: r20261
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 d847764..5daa253 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; |