From f22167fdbf6231b2a4348e2599c4128dabdd5ad7 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 27 Jan 2009 11:09:23 +0100 Subject: re PR libgcj/38872 (libgcj.so dropped _Jv_CreateJavaVM and _Jv_GetStringChars symbols) PR libgcj/38872 * gcj/javaprims.h (_Jv_CreateJavaVM): Change to extern "C" symbol. * libjgc_bc.c (_Jv_GetStringChars): Remove. From-SVN: r143698 --- libjava/gcj/javaprims.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libjava/gcj') diff --git a/libjava/gcj/javaprims.h b/libjava/gcj/javaprims.h index 313ecc0..3a0c964 100644 --- a/libjava/gcj/javaprims.h +++ b/libjava/gcj/javaprims.h @@ -1,8 +1,8 @@ // javaprims.h - Main external header file for libgcj. -*- c++ -*- -/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 - Free Software Foundation +/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + 2008, 2009 Free Software Foundation This file is part of libgcj. @@ -919,7 +919,7 @@ struct _Jv_VMInitArgs jboolean ignoreUnrecognized; }; -extern jint _Jv_CreateJavaVM (struct _Jv_VMInitArgs*); +extern "C" jint _Jv_CreateJavaVM (struct _Jv_VMInitArgs*); void _Jv_ThreadRun (java::lang::Thread* thread); -- cgit v1.1