diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-01-09 23:13:02 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-01-09 23:13:02 +0000 |
commit | 6ff2fe39337fb23db6ae2011efd6473a88a58132 (patch) | |
tree | 760b52810f3536e2b65c087bfc4d987320a2c3c1 /gcc/java/jcf-reader.c | |
parent | b3339cf7a7bcf36a45d78484eef1edf32626a933 (diff) | |
download | gcc-6ff2fe39337fb23db6ae2011efd6473a88a58132.zip gcc-6ff2fe39337fb23db6ae2011efd6473a88a58132.tar.gz gcc-6ff2fe39337fb23db6ae2011efd6473a88a58132.tar.bz2 |
expr.c, [...]: Don't rely on the `DEFUN', `AND' or `__STDC__' macros.
* expr.c, gjavah.c, javaop.h, jcf-dump.c, jcf-io.c, jcf-reader.c,
jcf-write.c, jcf.h, jv-scan.c: Don't rely on the `DEFUN', `AND' or
`__STDC__' macros.
From-SVN: r61131
Diffstat (limited to 'gcc/java/jcf-reader.c')
-rw-r--r-- | gcc/java/jcf-reader.c | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/gcc/java/jcf-reader.c b/gcc/java/jcf-reader.c index 8a7d7fc..6514a0e 100644 --- a/gcc/java/jcf-reader.c +++ b/gcc/java/jcf-reader.c @@ -108,8 +108,7 @@ skip_attribute (jcf, number_of_attribute) #endif static int -DEFUN(get_attribute, (jcf), - JCF *jcf) +get_attribute (JCF *jcf) { uint16 attribute_name = (JCF_FILL (jcf, 6), JCF_readu2 (jcf)); uint32 attribute_length = JCF_readu4 (jcf); @@ -241,8 +240,7 @@ DEFUN(get_attribute, (jcf), /* Read and handle the pre-amble. */ static int -DEFUN(jcf_parse_preamble, (jcf), - JCF* jcf) +jcf_parse_preamble (JCF* jcf) { uint32 magic = (JCF_FILL (jcf, 8), JCF_readu4 (jcf)); uint16 minor_version ATTRIBUTE_UNUSED = JCF_readu2 (jcf); @@ -262,8 +260,7 @@ DEFUN(jcf_parse_preamble, (jcf), Return -2 if a bad cross-reference (index of other constant) was seen. */ static int -DEFUN(jcf_parse_constant_pool, (jcf), - JCF* jcf) +jcf_parse_constant_pool (JCF* jcf) { int i, n; JPOOL_SIZE (jcf) = (JCF_FILL (jcf, 2), JCF_readu2 (jcf)); @@ -328,8 +325,7 @@ DEFUN(jcf_parse_constant_pool, (jcf), /* Read various class flags and numbers. */ static void -DEFUN(jcf_parse_class, (jcf), - JCF* jcf) +jcf_parse_class (JCF* jcf) { int i; uint16 interfaces_count; @@ -357,8 +353,7 @@ DEFUN(jcf_parse_class, (jcf), /* Read fields. */ static int -DEFUN(jcf_parse_fields, (jcf), - JCF* jcf) +jcf_parse_fields (JCF* jcf) { int i, j; uint16 fields_count; @@ -397,8 +392,7 @@ DEFUN(jcf_parse_fields, (jcf), /* Read methods. */ static int -DEFUN(jcf_parse_one_method, (jcf), - JCF* jcf) +jcf_parse_one_method (JCF* jcf) { int i; uint16 access_flags = (JCF_FILL (jcf, 8), JCF_readu2 (jcf)); @@ -421,8 +415,7 @@ DEFUN(jcf_parse_one_method, (jcf), } static int -DEFUN(jcf_parse_methods, (jcf), - JCF* jcf) +jcf_parse_methods (JCF* jcf) { int i; uint16 methods_count; @@ -445,8 +438,7 @@ DEFUN(jcf_parse_methods, (jcf), /* Read attributes. */ static int -DEFUN(jcf_parse_final_attributes, (jcf), - JCF *jcf) +jcf_parse_final_attributes (JCF *jcf) { int i; uint16 attributes_count = (JCF_FILL (jcf, 2), JCF_readu2 (jcf)); |