diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-01-12 02:14:56 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-01-12 02:14:56 +0000 |
commit | 0a2f0c5497342d01717c93db97aeb5318c3ec42c (patch) | |
tree | ae14f5fe1cbe481163ab4bcb25d7f4cec4d064a8 /gcc/java/xref.c | |
parent | 8e37cba890b62aa56f48cfbbca16e16b748355d6 (diff) | |
download | gcc-0a2f0c5497342d01717c93db97aeb5318c3ec42c.zip gcc-0a2f0c5497342d01717c93db97aeb5318c3ec42c.tar.gz gcc-0a2f0c5497342d01717c93db97aeb5318c3ec42c.tar.bz2 |
* All Files: Convert to ISO C style function definitions.
From-SVN: r61218
Diffstat (limited to 'gcc/java/xref.c')
-rw-r--r-- | gcc/java/xref.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/gcc/java/xref.c b/gcc/java/xref.c index cc1b475..5168450 100644 --- a/gcc/java/xref.c +++ b/gcc/java/xref.c @@ -41,8 +41,7 @@ static xref_flag_table xref_table [] = { /* Decode an xref flag value. Return 0 if the flag wasn't found. */ int -xref_flag_value (flag) - const char *flag; +xref_flag_value (const char *flag) { int i; for (i = 0; xref_table [i].key; i++) @@ -52,23 +51,19 @@ xref_flag_value (flag) } void -xref_set_data (flag, data) - int flag; - void *data; +xref_set_data (int flag, void *data) { xref_table [flag-1].data = data; } void * -xref_get_data (flag) - int flag; +xref_get_data (int flag) { return xref_table [flag-1].data; } void -xref_set_current_fp (fp) - FILE *fp; +xref_set_current_fp (FILE *fp) { xref_table [flag_emit_xref-1].fp = fp; } @@ -76,8 +71,7 @@ xref_set_current_fp (fp) /* Branch to the right xref "back-end". */ void -expand_xref (node) - tree node; +expand_xref (tree node) { /* Maintain these two cached. */ static FILE *fp = NULL; |