diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-01-10 03:04:41 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-01-10 03:04:41 +0000 |
commit | 77d3109be28c227a324991307b0e2e46774b011c (patch) | |
tree | e064acf94ef904267708e251567092ae16d89098 /gcc/java/gjavah.c | |
parent | 17211ab55314d76370a68036f2d057b1effd687f (diff) | |
download | gcc-77d3109be28c227a324991307b0e2e46774b011c.zip gcc-77d3109be28c227a324991307b0e2e46774b011c.tar.gz gcc-77d3109be28c227a324991307b0e2e46774b011c.tar.bz2 |
* class.c, gjavah.c, parse.y, verify.c: Don't use PTR.
From-SVN: r61137
Diffstat (limited to 'gcc/java/gjavah.c')
-rw-r--r-- | gcc/java/gjavah.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index 0c33313..c800e12 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -1128,8 +1128,8 @@ throwable_p (clname) if (! init_done) { - PTR *slot; - const unsigned char *str; + void **slot; + unsigned char *str; /* Self-initializing. The cost of this really doesn't matter. We also don't care about freeing these, either. */ @@ -1141,11 +1141,11 @@ throwable_p (clname) /* Make sure the root classes show up in the tables. */ str = xstrdup ("java.lang.Throwable"); slot = htab_find_slot (throw_hash, str, INSERT); - *slot = (PTR) str; + *slot = str; str = xstrdup ("java.lang.Object"); slot = htab_find_slot (non_throw_hash, str, INSERT); - *slot = (PTR) str; + *slot = str; init_done = 1; } @@ -1167,7 +1167,7 @@ throwable_p (clname) else { JCF jcf; - PTR *slot; + void **slot; unsigned char *super, *tmp; int super_length = -1; const char *classfile_name = find_class (current, strlen (current), |