summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/java-tree.h10
-rw-r--r--gcc/system.h5
4 files changed, 16 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 511f709dd69..5eeafa112f6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * system.h: Poison PARAMS.
+
2005-04-07 Richard Sandiford <rsandifo@redhat.com>
* config/vax/vax.h (target_flags, MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index f0a1126d478..3e3cc01fac5 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * java-tree.h: Don't use PARAMS().
+
2005-04-07 Per Bothner <per@bothner.com>
* class.c (push_class): By default, suppress debug output.
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index 6a392a8daf9..036fb83cea0 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -1883,8 +1883,8 @@ enum
#define EXPR_WFL_LINECOL(NODE) ((NODE)->exp.locus)
#define EXPR_WFL_FILENAME(NODE) EXPR_FILENAME (NODE)
#define EXPR_WFL_LINENO(NODE) EXPR_LINENO (NODE)
-extern tree build_expr_wfl PARAMS ((tree, source_location));
-extern tree expr_add_location PARAMS ((tree, source_location, bool));
+extern tree build_expr_wfl (tree, source_location);
+extern tree expr_add_location (tree, source_location, bool);
#define build_unknown_wfl(NODE) build_expr_wfl(NODE, UNKNOWN_LOCATION)
#else
#define EXPR_WFL_LINECOL(NODE) (EXPR_CHECK (NODE)->exp.complexity)
@@ -1899,12 +1899,12 @@ extern tree expr_add_location PARAMS ((tree, source_location, bool));
#define EXPR_WFL_SET_LINECOL(NODE, LINE, COL) \
(EXPR_WFL_LINECOL(NODE) = ((LINE) << 12) | ((COL) & 0xfff))
-extern tree build_expr_wfl PARAMS ((tree, const char *, int, int));
+extern tree build_expr_wfl (tree, const char *, int, int);
#define build_unknown_wfl(NODE) build_expr_wfl(NODE, NULL, 0, 0)
#endif
-extern void java_genericize PARAMS ((tree));
-extern int java_gimplify_expr PARAMS ((tree *, tree *, tree *));
+extern void java_genericize (tree);
+extern int java_gimplify_expr (tree *, tree *, tree *);
extern tree extract_field_decl (tree);
diff --git a/gcc/system.h b/gcc/system.h
index 6fec6a6a999..771178c6e49 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -675,13 +675,14 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
#undef ANSI_PROTOTYPES
#undef PTR_CONST
#undef LONG_DOUBLE
+#undef PARAMS
#undef VPARAMS
#undef VA_OPEN
#undef VA_FIXEDARG
#undef VA_CLOSE
#undef VA_START
- #pragma GCC poison ANSI_PROTOTYPES PTR_CONST LONG_DOUBLE VPARAMS VA_OPEN \
- VA_FIXEDARG VA_CLOSE VA_START
+ #pragma GCC poison ANSI_PROTOTYPES PTR_CONST LONG_DOUBLE PARAMS VPARAMS \
+ VA_OPEN VA_FIXEDARG VA_CLOSE VA_START
#endif /* IN_GCC */
/* Note: not all uses of the `index' token (e.g. variable names and