summaryrefslogtreecommitdiff
path: root/gcc/c-family/c-ada-spec.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-20 10:18:49 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-20 10:18:49 +0000
commitc9743c6a32087e66dc725c1e0ff132859ddd9733 (patch)
tree00264271884cf814270e5051a50c69dd560ad839 /gcc/c-family/c-ada-spec.c
parentbfe1a13dc80ad8c66e02bb499288f6787ab0d227 (diff)
downloadgcc-c9743c6a32087e66dc725c1e0ff132859ddd9733.tar.gz
c-family/
* c-ada-spec.h (dump_ada_specs): Revert prototype change. * c-ada-spec.c (dump_ads): Likewise. (cpp_check): Likewise. (dump_ada_specs): Likewise. cp/ * decl2.c (cpp_check): Revert prototype change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-ada-spec.c')
-rw-r--r--gcc/c-family/c-ada-spec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-family/c-ada-spec.c b/gcc/c-family/c-ada-spec.c
index df4a1f232b9..fc21b629aaa 100644
--- a/gcc/c-family/c-ada-spec.c
+++ b/gcc/c-family/c-ada-spec.c
@@ -58,7 +58,7 @@ static void dump_ada_nodes (pretty_printer *, const char *);
static void reset_ada_withs (void);
static void dump_ada_withs (FILE *);
static void dump_ads (const char *, void (*)(const char *),
- int (*)(const_tree, cpp_operation));
+ int (*)(tree, cpp_operation));
static char *to_ada_name (const char *, int *);
static bool separate_class_package (tree);
@@ -68,7 +68,7 @@ static bool separate_class_package (tree);
#define INDENT_INCR 3
/* Global hook used to perform C++ queries on nodes. */
-static int (*cpp_check) (const_tree, cpp_operation) = NULL;
+static int (*cpp_check) (tree, cpp_operation) = NULL;
/* Given a cpp MACRO, compute the max length BUFFER_LEN of the macro, as well
@@ -975,7 +975,7 @@ is_tagged_type (const_tree type)
sufficiently simple. */
static bool
-has_nontrivial_methods (const_tree type)
+has_nontrivial_methods (tree type)
{
tree tmp;
@@ -3263,7 +3263,7 @@ print_ada_struct_decl (pretty_printer *buffer, tree node, tree type, int spc,
static void
dump_ads (const char *source_file,
void (*collect_all_refs)(const char *),
- int (*check)(const_tree, cpp_operation))
+ int (*check)(tree, cpp_operation))
{
char *ads_name;
char *pkg_name;
@@ -3364,7 +3364,7 @@ collect_source_ref (const char *filename)
void
dump_ada_specs (void (*collect_all_refs)(const char *),
- int (*check)(const_tree, cpp_operation))
+ int (*check)(tree, cpp_operation))
{
int i;