diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-28 04:39:29 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-28 04:39:29 +0000 |
commit | beeac64cd1464509f0102012c0b1361e22147c3c (patch) | |
tree | 55e10618e71584ed59b5320375fea1ee21c91a39 /gcc/java | |
parent | 341281013a7334da0896c950d9c254e42692c479 (diff) | |
download | ppe42-gcc-beeac64cd1464509f0102012c0b1361e22147c3c.tar.gz ppe42-gcc-beeac64cd1464509f0102012c0b1361e22147c3c.zip |
treelang:
* treetree.c: Convert remaining K&R prototypes to ISO C90.
* tree1.c: Likewise.
* parse.y: Likewise.
* tree-convert.c: Likewise.
java:
* jvspec.c: Convert to ISO C90 prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/jvspec.c | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index afbc4ffb8df..fba8cd5c1e6 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2003-07-28 Andreas Jaeger <aj@suse.de> + + * jvspec.c: Convert to ISO C90 prototypes. + 2003-07-25 Nathan Sidwell <nathan@codesourcery.com> * decl.c (force_poplevels): Fix warning call. diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c index b76025ee341..575d9410b38 100644 --- a/gcc/java/jvspec.c +++ b/gcc/java/jvspec.c @@ -84,8 +84,7 @@ static const char jvgenmain_spec[] = /* Return full path name of spec file if it is in DIR, or NULL if not. */ static char * -find_spec_file (dir) - const char *dir; +find_spec_file (const char *dir) { char *spec; int x; @@ -116,8 +115,7 @@ find_spec_file (dir) /* Verify that NAME is a valid Java class name that might contain `main'. Return 0 on failure. */ static int -verify_class_name (name) - const char *name; +verify_class_name (const char *name) { /* FIXME: what encoding do we use for command-line arguments? For now we assume plain ASCII, which of course is wrong. */ @@ -144,10 +142,8 @@ verify_class_name (name) } void -lang_specific_driver (in_argc, in_argv, in_added_libraries) - int *in_argc; - const char *const **in_argv; - int *in_added_libraries; +lang_specific_driver (int *in_argc, const char *const **in_argv, + int *in_added_libraries) { int i, j; @@ -600,7 +596,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) } int -lang_specific_pre_link () +lang_specific_pre_link (void) { int err; if (main_class_name == NULL) |