diff options
author | Mark Wielaard <mark@klomp.org> | 2004-05-21 11:08:02 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2004-05-21 11:08:02 +0000 |
commit | f1865cde4be5cfa09f94ff9821ba1d38deb45c49 (patch) | |
tree | 321e51ed296c20bcd3c0d2d43bece83b747ca53c /gcc/java | |
parent | 942e0f44143290f7475d161fd27b049098182841 (diff) | |
download | gcc-f1865cde4be5cfa09f94ff9821ba1d38deb45c49.zip gcc-f1865cde4be5cfa09f94ff9821ba1d38deb45c49.tar.gz gcc-f1865cde4be5cfa09f94ff9821ba1d38deb45c49.tar.bz2 |
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
Diffstat (limited to 'gcc/java')
-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 70cf859..c636780 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 45e5f25..19958f3 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 |