Patch: Use JV_MARKOBJ_DECL

Tom Tromey tromey@redhat.com
Thu Jun 21 09:16:00 GMT 2001


I'm checking this in.  It is a simple bug fix from Corey.

2001-06-21  Tom Tromey  <tromey@redhat.com>

	* include/java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.
	From Corey Minyard.

Tom

Index: include/java-interp.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/java-interp.h,v
retrieving revision 1.13
diff -u -r1.13 java-interp.h
--- java-interp.h	2001/03/23 19:15:43	1.13
+++ java-interp.h	2001/06/21 15:14:21
@@ -158,7 +158,9 @@
   friend class _Jv_InterpMethod;
   friend void  _Jv_PrepareClass(jclass);
   friend void  _Jv_InitField (jobject, jclass, int);
-  friend void* _Jv_MarkObj (void *, void *, void *, void *);
+#ifdef JV_MARKOBJ_DECL
+  friend JV_MARKOBJ_DECL;
+#endif
 
   friend _Jv_MethodBase ** _Jv_GetFirstMethod (_Jv_InterpClass *klass);
 };



More information about the Java-patches mailing list