mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
942e0f4414
commit
f1865cde4b
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue