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/gjavah.c | |
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/gjavah.c')
-rw-r--r-- | gcc/java/gjavah.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |