diff options
author | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-24 00:45:55 +0000 |
---|---|---|
committer | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-24 00:45:55 +0000 |
commit | 5fc6d49c82e0849683f0a0af3c2dee9c7d1ab449 (patch) | |
tree | 206afd8a8b8040016c8d8f811a0f16360fdd64e7 /gcc | |
parent | 410f1dde714f7710e80e4264c14b266d127c9a2b (diff) | |
download | ppe42-gcc-5fc6d49c82e0849683f0a0af3c2dee9c7d1ab449.tar.gz ppe42-gcc-5fc6d49c82e0849683f0a0af3c2dee9c7d1ab449.zip |
* dump.c: ANSIfy function declarations and definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61691 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/cp/dump.c | 18 |
2 files changed, 7 insertions, 13 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a0a4216964d..a7f9dfabde0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org> + * dump.c: ANSIfy function declarations and definitions. + * cp-tree.h, decl.h: Get rid of PARAMS. Again. 2003-01-22 Mark Mitchell <mark@codesourcery.com> diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index b03dc82f134..fcd2b4f30df 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -27,19 +27,15 @@ Boston, MA 02111-1307, USA. */ #include "cp-tree.h" #include "tree-dump.h" -static void dump_access - PARAMS ((dump_info_p, tree)); +static void dump_access (dump_info_p, tree); -static void dump_op - PARAMS ((dump_info_p, tree)); +static void dump_op (dump_info_p, tree); /* Dump a representation of the accessibility information associated with T. */ static void -dump_access (di, t) - dump_info_p di; - tree t; +dump_access (dump_info_p di, tree t) { if (TREE_PROTECTED(t)) dump_string (di, "protected"); @@ -53,9 +49,7 @@ dump_access (di, t) operator associated with node t. */ static void -dump_op (di, t) - dump_info_p di; - tree t; +dump_op (dump_info_p di, tree t) { switch (DECL_OVERLOADED_OPERATOR_P (t)) { case NEW_EXPR: @@ -209,9 +203,7 @@ dump_op (di, t) } int -cp_dump_tree (dump_info, t) - void *dump_info; - tree t; +cp_dump_tree (void* dump_info, tree t) { enum tree_code code; dump_info_p di = (dump_info_p) dump_info; |