diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-27 10:09:23 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-27 10:09:23 +0000 |
commit | fccc523a3da3f2ee27c550efcc55ee66f143d621 (patch) | |
tree | 5942a0eadf605feed352a00fbf94308b82bb8e05 /libjava/gcj | |
parent | c587ea3517dd1633f6e72b9bb570bf99d44c3e28 (diff) | |
download | gcc-fccc523a3da3f2ee27c550efcc55ee66f143d621.tar.gz |
PR libgcj/38872
* gcj/javaprims.h (_Jv_CreateJavaVM): Change to extern "C" symbol.
* libjgc_bc.c (_Jv_GetStringChars): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143698 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gcj')
-rw-r--r-- | libjava/gcj/javaprims.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/gcj/javaprims.h b/libjava/gcj/javaprims.h index 313ecc02efc..3a0c964a437 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); |