diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-04 20:40:20 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-04 20:40:20 +0000 |
commit | d7739d8eb0b712d9d01cf597652cbb2186239c2f (patch) | |
tree | c851672dba9f99ab8fe6980ce20fa54c24aa0837 /gcc/java/boehm.c | |
parent | 7cc93e313ef3028faeeaab26b1f0a8765d0a4858 (diff) | |
download | gcc-d7739d8eb0b712d9d01cf597652cbb2186239c2f.tar.gz |
* boehm.c (mark_reference_fields, set_bit): Prototype.
(set_bit): Un-ANSI-fy definition.
* class.c (init_test_hash_newfunc, decl_hash, decl_compare):
Prototype.
* decl.c (emit_init_test_initialization): Likewise.
* gjavah.c (jni_print_char): Likewise.
* parse.y (create_new_parser_context): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32908 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/boehm.c')
-rw-r--r-- | gcc/java/boehm.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c index 504637e5fd9..98978395fa0 100644 --- a/gcc/java/boehm.c +++ b/gcc/java/boehm.c @@ -31,6 +31,15 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "java-tree.h" #include "parse.h" +static unsigned int mark_reference_fields PARAMS ((tree, + unsigned HOST_WIDE_INT *, + unsigned HOST_WIDE_INT *, + unsigned int, + int *, int *, int *)); +static void set_bit PARAMS ((unsigned HOST_WIDE_INT *, + unsigned HOST_WIDE_INT *, + unsigned int)); + /* Compute a procedure-based object descriptor. We know that our `kind' is 0, and `env' is likewise 0, so we have a simple computation. From the GC sources: @@ -42,8 +51,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ /* Treat two HOST_WIDE_INT's as a contiguous bitmap, with bit 0 being the least significant. This function sets bit N in the bitmap. */ static void -set_bit (unsigned HOST_WIDE_INT *low, unsigned HOST_WIDE_INT *high, - unsigned int n) +set_bit (low, high, n) + unsigned HOST_WIDE_INT *low, *high; + unsigned int n; { HOST_WIDE_INT *which; |