diff options
author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-21 11:08:02 +0000 |
---|---|---|
committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-21 11:08:02 +0000 |
commit | 4aaa352fdbf8d0672c30ddf3e6ea61a84f1ae95f (patch) | |
tree | 321e51ed296c20bcd3c0d2d43bece83b747ca53c | |
parent | 8afdc344903f67917b24fb879384c470e859dd84 (diff) | |
download | gcc-4aaa352fdbf8d0672c30ddf3e6ea61a84f1ae95f.tar.gz |
* gjavah.c (print_stub_or_jni): Mark functions only JNIEXPORT, not
extern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82094 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/gjavah.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 70cf8597f4a..c63678023ac 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2004-05-21 Mark Wielaard <mark@klomp.org> + + * gjavah.c (print_stub_or_jni): Mark functions only JNIEXPORT, not + extern. + 2004-05-19 Paolo Bonzini <bonzini@gnu.org> * typeck.c: Remove non-printable character 160. diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index 45e5f251b9f..19958f3832a 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -1567,7 +1567,7 @@ print_stub_or_jni (FILE* stream, JCF* jcf, int name_index, return; if (flag_jni && ! stubs) - fputs ("extern JNIEXPORT ", stream); + fputs ("JNIEXPORT ", stream); /* If printing a method, skip to the return signature and print that first. However, there is no return value if this is a |