summaryrefslogtreecommitdiff
path: root/libjava/posix-threads.cc
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-21 08:37:04 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-21 08:37:04 +0000
commitf4673084b9af89fead20326078f04dfb24521dab (patch)
treebd1dc93ef26d4c2030de92c336aa13eeadcf42ee /libjava/posix-threads.cc
parentf8c1da573b1b2b72501630f18fc1452e6b9e9c0c (diff)
downloadgcc-f4673084b9af89fead20326078f04dfb24521dab.tar.gz
* configure.in: Update boehm-gc include dir for new GC version.
* configure: Rebuilt. * exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and extern "C" wrapper. * boehm.cc: Update includes for new GC version. MAKE_PROC is now GC_MAKE_PROC. mark_proc is now GC_mark_proc. * posix-threads.cc: Only include <gc.h>. Don't need to wrap with extern "C". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/posix-threads.cc')
-rw-r--r--libjava/posix-threads.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/libjava/posix-threads.cc b/libjava/posix-threads.cc
index 6cbd29798f9..c38cee6f8ae 100644
--- a/libjava/posix-threads.cc
+++ b/libjava/posix-threads.cc
@@ -16,11 +16,7 @@ details. */
// If we're using the Boehm GC, then we need to override some of the
// thread primitives. This is fairly gross.
#ifdef HAVE_BOEHM_GC
-extern "C"
-{
-#include <gcconfig.h>
#include <gc.h>
-};
#endif /* HAVE_BOEHM_GC */
#include <stdlib.h>
@@ -378,7 +374,6 @@ _Jv_ThreadStart (java::lang::Thread *thread, _Jv_Thread_t *data,
pthread_attr_setschedparam (&attr, &param);
pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
- // FIXME: handle marking the info object for GC.
info = (struct starter *) _Jv_AllocBytes (sizeof (struct starter));
info->method = meth;
info->data = data;