summaryrefslogtreecommitdiff
path: root/gcc/cp/expr.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-10 05:44:46 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-10 05:44:46 +0000
commit112233a0e424b0ce79205013c5170a032da5da33 (patch)
treeda9e21bdccc17d61addf2f430eef3a8f9b793b24 /gcc/cp/expr.c
parent5a18e4cd2058d8b5a7008830e0c931ba838ddec8 (diff)
downloadgcc-112233a0e424b0ce79205013c5170a032da5da33.tar.gz
* expr.c (cplus_expand_constant): Use C90 prototype style.
(cxx_expand_expr): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64064 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r--gcc/cp/expr.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index 739aaccdf05..7252a4df9c3 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);