-2014-01-15 Laurent Alfonsi <laurent.alfonsi@st.com>
+2014-01-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * c-ada-spec.h (dump_ada_specs): Revert prototype change.
+ * c-ada-spec.c (dump_ads): Likewise.
+ (cpp_check): Likewise.
+ (dump_ada_specs): Likewise.
+
+2014-01-15 Laurent Alfonsi <laurent.alfonsi@st.com>
PR c++/49718
* c-common.c (handle_no_instrument_function_attribute): Allow
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);
#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
sufficiently simple. */
static bool
-has_nontrivial_methods (const_tree type)
+has_nontrivial_methods (tree type)
{
tree tmp;
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;
void
dump_ada_specs (void (*collect_all_refs)(const char *),
- int (*check)(const_tree, cpp_operation))
+ int (*check)(tree, cpp_operation))
{
int i;
extern void collect_ada_nodes (tree, const char *);
extern void collect_source_ref (const char *);
extern void dump_ada_specs (void (*)(const char *),
- int (*)(const_tree, cpp_operation));
+ int (*)(tree, cpp_operation));
#endif /* ! C_ADA_SPEC_H */