diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2003-03-10 05:44:46 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2003-03-10 05:44:46 +0000 |
commit | d9b4e85e243b9d8ba4f51aa23a287621b0519d7d (patch) | |
tree | da9e21bdccc17d61addf2f430eef3a8f9b793b24 | |
parent | c727e7a05247b597db970f7eebe0595e5f7b9e64 (diff) | |
download | gcc-d9b4e85e243b9d8ba4f51aa23a287621b0519d7d.zip gcc-d9b4e85e243b9d8ba4f51aa23a287621b0519d7d.tar.gz gcc-d9b4e85e243b9d8ba4f51aa23a287621b0519d7d.tar.bz2 |
expr.c (cplus_expand_constant): Use C90 prototype style.
* expr.c (cplus_expand_constant): Use C90 prototype style.
(cxx_expand_expr): Likewise.
From-SVN: r64064
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/expr.c | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7d7debe..48e4f3a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-03-10 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * expr.c (cplus_expand_constant): Use C90 prototype style. + (cxx_expand_expr): Likewise. + 2003-03-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> PR c++/9970 diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c index 739aacc..7252a4d 100644 --- a/gcc/cp/expr.c +++ b/gcc/cp/expr.c @@ -38,8 +38,7 @@ Boston, MA 02111-1307, USA. */ constants. */ tree -cplus_expand_constant (cst) - tree cst; +cplus_expand_constant (tree cst) { switch (TREE_CODE (cst)) { @@ -79,11 +78,7 @@ cplus_expand_constant (cst) /* Hook used by expand_expr to expand language-specific tree codes. */ rtx -cxx_expand_expr (exp, target, tmode, modifier) - tree exp; - rtx target; - enum machine_mode tmode; - int modifier; /* Actually an enum expand_modifier. */ +cxx_expand_expr (tree exp, rtx target, enum machine_mode tmode, int modifier) { tree type = TREE_TYPE (exp); register enum machine_mode mode = TYPE_MODE (type); |