[Committed] C90 updates for java directory

Kelley Cook kelleycook@wideopenwest.com
Sun Oct 5 02:56:00 GMT 2003


Due to my recent gengtype-lex.l checkin, these three files can finally be have their 
PARAMS macros removed.

Checked in as obvious.  Bootstrapped with -Wold-style-definition

Kelley Cook

2003-10-04  Kelley Cook  <kelleycook@wideopenwest.com>

	* builtins.c, jcf.h, jvspec.c: Remove PARAMS macros.

Index: builtins.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/builtins.c,v
retrieving revision 1.20
diff -u -p -r1.20 builtins.c
--- builtins.c	3 Sep 2003 13:33:32 -0000	1.20
+++ builtins.c	5 Oct 2003 02:52:08 -0000
@@ -50,7 +50,7 @@ static void define_builtin (enum built_i
    function should either return an expression, if the call is to be
    inlined, or NULL_TREE if a real call should be emitted.  Arguments
    are method return type and arguments to call.  */
-typedef tree builtin_creator_function PARAMS ((tree, tree));
+typedef tree builtin_creator_function (tree, tree);

 /* Hold a char*, before initialization, or a tree, after
    initialization.  */
Index: jcf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jcf.h,v
retrieving revision 1.40
diff -u -p -r1.40 jcf.h
--- jcf.h	12 Aug 2003 20:34:51 -0000	1.40
+++ jcf.h	5 Oct 2003 02:52:08 -0000
@@ -73,7 +73,7 @@ jcf_open_exact_case (const char* filenam
 #endif /* WIN32 */

 struct JCF;
-typedef int (*jcf_filbuf_t) PARAMS ((struct JCF*, int needed));
+typedef int (*jcf_filbuf_t) (struct JCF*, int needed);

 union cpool_entry GTY(()) {
   jword GTY ((tag ("0"))) w;
Index: jvspec.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jvspec.c,v
retrieving revision 1.65
diff -u -p -r1.65 jvspec.c
--- jvspec.c	28 Jul 2003 04:39:29 -0000	1.65
+++ jvspec.c	5 Oct 2003 02:52:08 -0000
@@ -48,8 +48,8 @@ The Free Software Foundation is independ
 /* True if this arg is a resource file.  */
 #define RESOURCE_FILE_ARG (1<<7)

-static char *find_spec_file	PARAMS ((const char *));
-static int verify_class_name    PARAMS ((const char *));
+static char *find_spec_file (const char *);
+static int verify_class_name (const char *);

 static const char *main_class_name = NULL;
 int lang_specific_extra_outfiles = 0;





More information about the Gcc-patches mailing list