From d9b4e85e243b9d8ba4f51aa23a287621b0519d7d Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Mon, 10 Mar 2003 05:44:46 +0000 Subject: 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/expr.c | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'gcc') 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 + + * expr.c (cplus_expand_constant): Use C90 prototype style. + (cxx_expand_expr): Likewise. + 2003-03-09 Kriang Lerdsuwanakij 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); -- cgit v1.1