gjavah.c (print_stub_or_jni): Mark functions only JNIEXPORT, not extern.

* gjavah.c (print_stub_or_jni): Mark functions only JNIEXPORT, not
       extern.

From-SVN: r82094
This commit is contained in:
Mark Wielaard 2004-05-21 11:08:02 +00:00 committed by Mark Wielaard
parent 942e0f4414
commit f1865cde4b
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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