harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r486158 [1/2] - in /harmony/enhanced/classlib/trunk/modules: archive/src/main/native/archive/shared/ luni/src/main/native/include/windows/ luni/src/main/native/luni/shared/
Date Tue, 12 Dec 2006 14:17:28 GMT
Author: apetrenko
Date: Tue Dec 12 06:17:27 2006
New Revision: 486158

URL: http://svn.apache.org/viewvc?view=rev&rev=486158
Log:
Pach for HARMONY-1608 "Number of JNI methods in archive and luni modules are not marked as JNIEXPORT"

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/adler32.c
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/deflater.c
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.c
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.h
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jclcrc32.c
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.h
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/file.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/filedesc.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/inetadds.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/math.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/ois.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/oos.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/osc.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/process.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/proxy.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/timezone.c

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/adler32.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/adler32.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/adler32.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/adler32.c Tue Dec 12 06:17:27 2006
@@ -15,11 +15,12 @@
  * limitations under the License.
  */
 
+#include "jni.h"
 #include "vmi.h"
 #include "zconf.h"
 uLong adler32 PROTOTYPE ((uLong crc, const Bytef * buf, uInt size));
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_Adler32_updateImpl (JNIEnv * env, jobject recv,
                                        jbyteArray buf, int off, int len,
                                        jlong crc)
@@ -37,7 +38,7 @@
   return result;
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_Adler32_updateByteImpl (JNIEnv * env, jobject recv,
                                            jint val, jlong crc)
 {

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c Tue Dec 12 06:17:27 2006
@@ -37,7 +37,7 @@
  * This DLL is being loaded, do any initialization required.
  * This may be called more than once.
  */
-jint JNICALL
+JNIEXPORT jint JNICALL
 JNI_OnLoad (JavaVM * vm, void *reserved)
 {
   JniIDCache *idCache;
@@ -82,7 +82,7 @@
  * This DLL is being unloaded, do any clean up required.
  * This may be called more than once!!
  */
-void JNICALL
+JNIEXPORT void JNICALL
 JNI_OnUnload (JavaVM * vm, void *reserved)
 {
   JNIEnv *env;

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/deflater.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/deflater.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/deflater.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/deflater.c Tue Dec 12 06:17:27 2006
@@ -27,7 +27,7 @@
 void zfree PROTOTYPE ((void *opaque, void *address));
 void *zalloc PROTOTYPE ((void *opaque, U_32 items, U_32 size));
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Deflater_setDictionaryImpl (JNIEnv * env, jobject recv,
 					       jbyteArray dict, int off,
 					       int len, jlong handle)
@@ -54,7 +54,7 @@
   stream->dict = dBytes;
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_Deflater_getTotalInImpl (JNIEnv * env, jobject recv,
 					    jlong handle)
 {
@@ -64,7 +64,7 @@
   return stream->stream->total_in;
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_Deflater_getTotalOutImpl (JNIEnv * env, jobject recv,
 					     jlong handle)
 {
@@ -74,7 +74,7 @@
   return stream->stream->total_out;
 }
 
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_java_util_zip_Deflater_getAdlerImpl (JNIEnv * env, jobject recv,
 					  jlong handle)
 {
@@ -86,7 +86,7 @@
 }
 
 /* Create a new stream . This stream cannot be used until it has been properly initialized. */
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_Deflater_createStream (JNIEnv * env, jobject recv,
 					  jint level, jint strategy,
 					  jboolean noHeader)
@@ -136,7 +136,7 @@
   return (jlong) ((IDATA) jstream);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Deflater_setInputImpl (JNIEnv * env, jobject recv,
 					  jbyteArray buf, jint off, jint len,
 					  jlong handle)
@@ -166,7 +166,7 @@
   return;
 }
 
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_java_util_zip_Deflater_deflateImpl (JNIEnv * env, jobject recv,
 					 jbyteArray buf, int off, int len,
 					 jlong handle, int flushParm)
@@ -217,7 +217,7 @@
   return stream->stream->total_out - sout;
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Deflater_endImpl (JNIEnv * env, jobject recv, jlong handle)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -234,7 +234,7 @@
   jclmem_free_memory (env, stream);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Deflater_resetImpl (JNIEnv * env, jobject recv,
 				       jlong handle)
 {
@@ -244,7 +244,7 @@
   deflateReset (stream->stream);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Deflater_setLevelsImpl (JNIEnv * env, jobject recv,
 					   int level, int strategy,
 					   jlong handle)
@@ -267,7 +267,7 @@
     throwNewIllegalStateException (env, "");
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Deflater_oneTimeInitialization (JNIEnv * env, jclass clazz)
 {
   jfieldID fid;

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.c Tue Dec 12 06:17:27 2006
@@ -26,7 +26,7 @@
 void throwNewDataFormatException (JNIEnv * env, const char *message);
 
 /* Create a new stream . This stream cannot be used until it has been properly initialized. */
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_Inflater_createStream (JNIEnv * env, jobject recv,
                                           jboolean noHeader)
 {
@@ -77,7 +77,7 @@
   return (jlong) ((IDATA) jstream);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Inflater_setInputImpl (JNIEnv * env, jobject recv,
                                           jbyteArray buf, jint off, jint len,
                                           jlong handle)
@@ -107,7 +107,7 @@
   return;
 }
 
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_java_util_zip_Inflater_inflateImpl (JNIEnv * env, jobject recv,
                                          jbyteArray buf, int off, int len,
                                          jlong handle)
@@ -168,7 +168,7 @@
   return stream->stream->total_out - sout;
 }
 
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_java_util_zip_Inflater_getAdlerImpl (JNIEnv * env, jobject recv,
                                           jlong handle)
 {
@@ -179,7 +179,7 @@
   return stream->stream->adler;
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Inflater_endImpl (JNIEnv * env, jobject recv, jlong handle)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -195,7 +195,7 @@
   jclmem_free_memory (env, stream);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Inflater_setDictionaryImpl (JNIEnv * env, jobject recv,
                                                jbyteArray dict, int off,
                                                int len, jlong handle)
@@ -222,7 +222,7 @@
   stream->dict = dBytes;
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Inflater_resetImpl (JNIEnv * env, jobject recv,
                                        jlong handle)
 {
@@ -247,7 +247,7 @@
   throwNewExceptionByName(env, "java/util/zip/DataFormatException", message);
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_Inflater_getTotalOutImpl (JNIEnv * env, jobject recv,
                                              jlong handle)
 {
@@ -258,7 +258,7 @@
 
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_Inflater_getTotalInImpl (JNIEnv * env, jobject recv,
                                             jlong handle)
 {
@@ -268,7 +268,7 @@
   return stream->stream->total_in;
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_Inflater_oneTimeInitialization (JNIEnv * env, jclass clazz)
 {
   jfieldID fid;

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.h?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.h (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/inflater.h Tue Dec 12 06:17:27 2006
@@ -28,37 +28,37 @@
 
 void zfree PROTOTYPE ((void *opaque, void *address));
 void *zalloc PROTOTYPE ((void *opaque, U_32 items, U_32 size));
-void JNICALL Java_java_util_zip_Inflater_endImpl (JNIEnv * env, jobject recv,
+JNIEXPORT void JNICALL Java_java_util_zip_Inflater_endImpl (JNIEnv * env, jobject recv,
                                                   jlong handle);
-void JNICALL Java_java_util_zip_Inflater_setInputImpl (JNIEnv * env,
+JNIEXPORT void JNICALL Java_java_util_zip_Inflater_setInputImpl (JNIEnv * env,
                                                        jobject recv,
                                                        jbyteArray buf,
                                                        jint off, jint len,
                                                        jlong handle);
-jint JNICALL Java_java_util_zip_Inflater_inflateImpl (JNIEnv * env,
+JNIEXPORT jint JNICALL Java_java_util_zip_Inflater_inflateImpl (JNIEnv * env,
                                                       jobject recv,
                                                       jbyteArray buf, int off,
                                                       int len, jlong handle);
-void JNICALL Java_java_util_zip_Inflater_setDictionaryImpl (JNIEnv * env,
+JNIEXPORT void JNICALL Java_java_util_zip_Inflater_setDictionaryImpl (JNIEnv * env,
                                                             jobject recv,
                                                             jbyteArray dict,
                                                             int off, int len,
                                                             jlong handle);
-void JNICALL Java_java_util_zip_Inflater_oneTimeInitialization (JNIEnv * env,
+JNIEXPORT void JNICALL Java_java_util_zip_Inflater_oneTimeInitialization (JNIEnv * env,
                                                                 jclass clazz);
-void JNICALL Java_java_util_zip_Inflater_resetImpl (JNIEnv * env,
+JNIEXPORT void JNICALL Java_java_util_zip_Inflater_resetImpl (JNIEnv * env,
                                                     jobject recv,
                                                     jlong handle);
-jlong JNICALL Java_java_util_zip_Inflater_getTotalOutImpl (JNIEnv * env,
+JNIEXPORT jlong JNICALL Java_java_util_zip_Inflater_getTotalOutImpl (JNIEnv * env,
                                                          jobject recv,
                                                          jlong handle);
-jlong JNICALL Java_java_util_zip_Inflater_createStream (JNIEnv * env,
+JNIEXPORT jlong JNICALL Java_java_util_zip_Inflater_createStream (JNIEnv * env,
                                                         jobject recv,
                                                         jboolean noHeader);
-jlong JNICALL Java_java_util_zip_Inflater_getTotalInImpl (JNIEnv * env,
+JNIEXPORT jlong JNICALL Java_java_util_zip_Inflater_getTotalInImpl (JNIEnv * env,
                                                         jobject recv,
                                                         jlong handle);
-jint JNICALL Java_java_util_zip_Inflater_getAdlerImpl (JNIEnv * env,
+JNIEXPORT jint JNICALL Java_java_util_zip_Inflater_getAdlerImpl (JNIEnv * env,
                                                        jobject recv,
                                                        jlong handle);
 

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c Tue Dec 12 06:17:27 2006
@@ -73,7 +73,7 @@
   return java_ZipEntry;
 }
 
-jarray JNICALL
+JNIEXPORT jarray JNICALL
 Java_java_util_jar_JarFile_getMetaEntriesImpl (JNIEnv * env, jobject recv,
 					       jbyteArray zipName)
 {

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jclcrc32.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jclcrc32.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jclcrc32.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jclcrc32.c Tue Dec 12 06:17:27 2006
@@ -20,7 +20,7 @@
 
 uLong crc32 PROTOTYPE ((uLong crc, const Bytef * buf, uInt size));
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_CRC32_updateImpl (JNIEnv * env, jobject recv,
                                      jbyteArray buf, int off, int len,
                                      jlong crc)
@@ -36,7 +36,7 @@
   return result;
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_CRC32_updateByteImpl (JNIEnv * env, jobject recv,
                                          jbyte val, jlong crc)
 {

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c Tue Dec 12 06:17:27 2006
@@ -42,7 +42,7 @@
   throwNewExceptionByName(env, "java/util/zip/ZipException", message);
 }
 
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_java_util_zip_ZipFile_openZipImpl (JNIEnv * env, jobject recv,
                                         jbyteArray zipName)
 {
@@ -99,7 +99,7 @@
   return 0;
 }
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_util_zip_ZipFile_getEntryImpl (JNIEnv * env, jobject recv,
                                          jlong zipPointer, jstring entryName)
 {
@@ -175,7 +175,7 @@
   return java_ZipEntry;
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_ZipFile_closeZipImpl (JNIEnv * env, jobject recv)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -225,7 +225,7 @@
   throwNewExceptionByName(env, "java/lang/IllegalArgumentException", message);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_util_zip_ZipFile_ntvinit (JNIEnv * env, jclass cls)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -271,7 +271,7 @@
   JCL_CACHE_SET (env, zipfile_handles, zipfileHandles);
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_util_zip_ZipFile_00024ZFEnum_resetZip (JNIEnv * env, jobject recv,
                                                  jlong descriptor)
 {
@@ -291,7 +291,7 @@
   return nextEntryPointer;
 }
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_util_zip_ZipFile_00024ZFEnum_getNextEntry (JNIEnv * env,
                                                      jobject recv,
                                                      jlong descriptor,
@@ -379,7 +379,7 @@
   return java_ZipEntry;
 }
 
-jbyteArray JNICALL
+JNIEXPORT jbyteArray JNICALL
 Java_java_util_zip_ZipFile_inflateEntryImpl2 (JNIEnv * env, jobject recv,
 					                          jlong descriptor,
                                               jstring entryName)

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h Tue Dec 12 06:17:27 2006
@@ -25,96 +25,96 @@
 #include "vmi.h"
 
   /* NativesCommonComm*/
-  jint JNICALL Java_com_ibm_oti_connection_comm_Connection_writeImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_comm_Connection_writeImpl
     PROTOTYPE ((JNIEnv * env, jobject jThis, jint osHandle,
                 jbyteArray jBuffer, jint offset, jint length));
-  jint JNICALL Java_com_ibm_oti_connection_comm_Connection_readImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_comm_Connection_readImpl
     PROTOTYPE ((JNIEnv * env, jobject jThis, jint osHandle,
                 jbyteArray jBuffer, jint offset, jint length));
-  jint JNICALL Java_com_ibm_oti_connection_comm_Connection_getBaud
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_comm_Connection_getBaud
     PROTOTYPE ((JNIEnv * env, jobject jThis, jint osHandle));
-  void JNICALL Java_com_ibm_oti_connection_comm_Connection_closeImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_comm_Connection_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject jThis, jint osHandle));
-  jint JNICALL Java_com_ibm_oti_connection_comm_Connection_openImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_comm_Connection_openImpl
     PROTOTYPE ((JNIEnv * env, jobject jThis, jint jPortNum));
-  jint JNICALL Java_com_ibm_oti_connection_comm_Connection_setBaud
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_comm_Connection_setBaud
     PROTOTYPE ((JNIEnv * env, jobject jThis, jint osHandle, jint baudrate));
-  jint JNICALL Java_com_ibm_oti_connection_comm_Connection_openImpl2
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_comm_Connection_openImpl2
     PROTOTYPE ((JNIEnv * env, jobject jThis, jstring portName));
-  void JNICALL Java_com_ibm_oti_connection_comm_Connection_configureImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_comm_Connection_configureImpl
     PROTOTYPE ((JNIEnv * env, jobject jThis, jint osHandle, jint baudrate,
                 jint bitsPerChar, jint stopBits, jint parity,
                 jboolean autoRTS, jboolean autoCTS, jint timeout));
-  jint JNICALL Java_com_ibm_oti_connection_comm_Connection_availableImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_comm_Connection_availableImpl
     PROTOTYPE ((JNIEnv * env, jobject jThis, jint osHandle));
 
   /* NativesCommonPlainServerSocketImpl*/
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_net_PlainServerSocketImpl_createServerStreamSocketImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
                 jboolean preferIPv4Stack));
                 
   /* NativesCommonDeflater*/
-  void JNICALL Java_java_util_zip_Deflater_setDictionaryImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Deflater_setDictionaryImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray dict, int off, int len,
                 jlong handle));
-  void JNICALL Java_java_util_zip_Deflater_resetImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Deflater_resetImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
-  jlong JNICALL Java_java_util_zip_Deflater_getTotalOutImpl
+  JNIEXPORT jlong JNICALL Java_java_util_zip_Deflater_getTotalOutImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
-  void JNICALL Java_java_util_zip_Deflater_endImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Deflater_endImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
-  jint JNICALL Java_java_util_zip_Deflater_deflateImpl
+  JNIEXPORT jint JNICALL Java_java_util_zip_Deflater_deflateImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buf, int off, int len,
                 jlong handle, int flushParm));
-  void JNICALL Java_java_util_zip_Deflater_setLevelsImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Deflater_setLevelsImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, int level, int strategy,
                 jlong handle));
-  void JNICALL Java_java_util_zip_Deflater_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_util_zip_Deflater_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  void JNICALL Java_java_util_zip_Deflater_setInputImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Deflater_setInputImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buf, jint off,
                 jint len, jlong handle));
-  jlong JNICALL Java_java_util_zip_Deflater_createStream
+  JNIEXPORT jlong JNICALL Java_java_util_zip_Deflater_createStream
     PROTOTYPE ((JNIEnv * env, jobject recv, jint level, jint strategy,
                 jboolean noHeader));
-  jlong JNICALL Java_java_util_zip_Deflater_getTotalInImpl
+  JNIEXPORT jlong JNICALL Java_java_util_zip_Deflater_getTotalInImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
-  jint JNICALL Java_java_util_zip_Deflater_getAdlerImpl
+  JNIEXPORT jint JNICALL Java_java_util_zip_Deflater_getAdlerImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
 
   /* NativesCommonPlainSocketImpl2*/
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_net_PlainSocketImpl2_connectStreamWithTimeoutSocketImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jint remotePort, jint timeout, jint trafficClass,
                 jobject inetAddress));
-  void JNICALL Java_java_net_PlainSocketImpl2_socketBindImpl2
+  JNIEXPORT void JNICALL Java_java_net_PlainSocketImpl2_socketBindImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jint localPort, jobject inetAddress));
-  void JNICALL Java_java_net_PlainSocketImpl2_createStreamSocketImpl2
+  JNIEXPORT void JNICALL Java_java_net_PlainSocketImpl2_createStreamSocketImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
                 jboolean preferIPv4Stack));
-  void JNICALL Java_java_net_PlainSocketImpl2_connectStreamSocketImpl2
+  JNIEXPORT void JNICALL Java_java_net_PlainSocketImpl2_connectStreamSocketImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jint remotePort, jint trafficClass, jobject inetAddress));
-  jint JNICALL Java_java_net_PlainSocketImpl2_sendDatagramImpl2
+  JNIEXPORT jint JNICALL Java_java_net_PlainSocketImpl2_sendDatagramImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jbyteArray data, jint offset, jint msgLength, jint targetPort,
                 jobject inetAddress));
                 
   /* NativesCommonFileOutputStream*/
-  jint JNICALL Java_java_io_FileOutputStream_openImpl
+  JNIEXPORT jint JNICALL Java_java_io_FileOutputStream_openImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path,
                 jboolean append));
-  void JNICALL Java_java_io_FileOutputStream_closeImpl
+  JNIEXPORT void JNICALL Java_java_io_FileOutputStream_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  void JNICALL Java_java_io_FileOutputStream_writeByteImpl
+  JNIEXPORT void JNICALL Java_java_io_FileOutputStream_writeByteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jint c, jlong descriptor));
-  void JNICALL Java_java_io_FileOutputStream_writeImpl
+  JNIEXPORT void JNICALL Java_java_io_FileOutputStream_writeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
                 jint count, jlong descriptor));
-  void JNICALL Java_java_io_FileOutputStream_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_io_FileOutputStream_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
     
   /* NativesCommonDoubleParsing*/
@@ -127,351 +127,351 @@
                 jboolean isDenormalized, jboolean mantissaIsZero, jint p));
                 
   /* NativesCommonAdler32 */
-  jlong JNICALL Java_java_util_zip_Adler32_updateImpl
+  JNIEXPORT jlong JNICALL Java_java_util_zip_Adler32_updateImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buf, int off, int len,
                 jlong crc));
-  jlong JNICALL Java_java_util_zip_Adler32_updateByteImpl
+  JNIEXPORT jlong JNICALL Java_java_util_zip_Adler32_updateByteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jint val, jlong crc));
     
   /* NativesCommonCRC32*/
-  jlong JNICALL Java_java_util_zip_CRC32_updateByteImpl
+  JNIEXPORT jlong JNICALL Java_java_util_zip_CRC32_updateByteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyte val, jlong crc));
-  jlong JNICALL Java_java_util_zip_CRC32_updateImpl
+  JNIEXPORT jlong JNICALL Java_java_util_zip_CRC32_updateImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buf, int off, int len,
                 jlong crc));
                 
   /* NativesCommonSocketImpl*/
-  void JNICALL Java_java_net_SocketImpl_listenStreamSocketImpl
+  JNIEXPORT void JNICALL Java_java_net_SocketImpl_listenStreamSocketImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jint backlog));
-  void JNICALL Java_java_net_SocketImpl_acceptStreamSocketImpl
+  JNIEXPORT void JNICALL Java_java_net_SocketImpl_acceptStreamSocketImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptorServer,
                 jobject socketImpl, jobject fileDescriptorSocketImpl,
                 jint timeout));
-  void JNICALL Java_java_net_SocketImpl_sendUrgentDataImpl
+  JNIEXPORT void JNICALL Java_java_net_SocketImpl_sendUrgentDataImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jbyte data));
-  jint JNICALL Java_java_net_SocketImpl_receiveStreamImpl
+  JNIEXPORT jint JNICALL Java_java_net_SocketImpl_receiveStreamImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jbyteArray data, jint offset, jint count, jint timeout));
-  void JNICALL Java_java_net_SocketImpl_createStreamSocketImpl
+  JNIEXPORT void JNICALL Java_java_net_SocketImpl_createStreamSocketImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
                 jboolean preferIPv4Stack));
-  jint JNICALL Java_java_net_SocketImpl_sendStreamImpl
+  JNIEXPORT jint JNICALL Java_java_net_SocketImpl_sendStreamImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jbyteArray data, jint offset, jint count));
-  void JNICALL Java_java_net_SocketImpl_shutdownOutputImpl
+  JNIEXPORT void JNICALL Java_java_net_SocketImpl_shutdownOutputImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  void JNICALL Java_java_net_SocketImpl_createDatagramSocketImpl
+  JNIEXPORT void JNICALL Java_java_net_SocketImpl_createDatagramSocketImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
                 jboolean preferIPv4Stack));
-  jint JNICALL Java_java_net_SocketImpl_availableStreamImpl
+  JNIEXPORT jint JNICALL Java_java_net_SocketImpl_availableStreamImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  jboolean JNICALL Java_java_net_SocketImpl_supportsUrgentDataImpl
+  JNIEXPORT jboolean JNICALL Java_java_net_SocketImpl_supportsUrgentDataImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  void JNICALL Java_java_net_SocketImpl_shutdownInputImpl
+  JNIEXPORT void JNICALL Java_java_net_SocketImpl_shutdownInputImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  void JNICALL Java_java_net_SocketImpl_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_net_SocketImpl_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz, jboolean jcl_supports_ipv6));
     
   /* NativesCommonFile*/
-  jboolean JNICALL Java_java_io_File_mkdirImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_mkdirImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_setLastModifiedImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_setLastModifiedImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path, jlong time));
-  jboolean JNICALL Java_java_io_File_isDirectoryImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_isDirectoryImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_isReadOnlyImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_isReadOnlyImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jlong JNICALL Java_java_io_File_lastModifiedImpl
+  JNIEXPORT jlong JNICALL Java_java_io_File_lastModifiedImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_renameToImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_renameToImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray pathExist,
                 jbyteArray pathNew));
-  jobject JNICALL Java_java_io_File_rootsImpl
+  JNIEXPORT jobject JNICALL Java_java_io_File_rootsImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  jboolean JNICALL Java_java_io_File_deleteDirImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_deleteDirImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_isCaseSensitiveImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_isCaseSensitiveImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  jlong JNICALL Java_java_io_File_lengthImpl
+  JNIEXPORT jlong JNICALL Java_java_io_File_lengthImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_isAbsoluteImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_isAbsoluteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_isWriteOnlyImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_isWriteOnlyImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_isFileImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_isFileImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jint JNICALL Java_java_io_File_newFileImpl
+  JNIEXPORT jint JNICALL Java_java_io_File_newFileImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_deleteFileImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_deleteFileImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jobject JNICALL Java_java_io_File_getCanonImpl
+  JNIEXPORT jobject JNICALL Java_java_io_File_getCanonImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jobject JNICALL Java_java_io_File_listImpl
+  JNIEXPORT jobject JNICALL Java_java_io_File_listImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_isHiddenImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_isHiddenImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jobject JNICALL Java_java_io_File_getLinkImpl
+  JNIEXPORT jobject JNICALL Java_java_io_File_getLinkImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jbyteArray JNICALL Java_java_io_File_properPathImpl
+  JNIEXPORT jbyteArray JNICALL Java_java_io_File_properPathImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  void JNICALL Java_java_io_File_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_io_File_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  jboolean JNICALL Java_java_io_File_existsImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_existsImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  jboolean JNICALL Java_java_io_File_setReadOnlyImpl
+  JNIEXPORT jboolean JNICALL Java_java_io_File_setReadOnlyImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
     
   /* NativesCommonFileInputStream*/
-  jint JNICALL Java_java_io_FileInputStream_readByteImpl
+  JNIEXPORT jint JNICALL Java_java_io_FileInputStream_readByteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
-  jint JNICALL Java_java_io_FileInputStream_readImpl
+  JNIEXPORT jint JNICALL Java_java_io_FileInputStream_readImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
                 jint count, jlong descriptor));
-  void JNICALL Java_java_io_FileInputStream_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_io_FileInputStream_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  void JNICALL Java_java_io_FileInputStream_closeImpl
+  JNIEXPORT void JNICALL Java_java_io_FileInputStream_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  jlong JNICALL Java_java_io_FileInputStream_skip
+  JNIEXPORT jlong JNICALL Java_java_io_FileInputStream_skip
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong count));
-  jint JNICALL Java_java_io_FileInputStream_available
+  JNIEXPORT jint JNICALL Java_java_io_FileInputStream_available
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  jint JNICALL Java_java_io_FileInputStream_openImpl
+  JNIEXPORT jint JNICALL Java_java_io_FileInputStream_openImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
     
   /* NativesCommonObjectInputStream*/
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2I
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName, jint newValue));
-  void JNICALL Java_java_io_ObjectInputStream_objSetField
+  JNIEXPORT void JNICALL Java_java_io_ObjectInputStream_objSetField
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName,
                 jobject fieldTypeName, jobject newValue));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2C
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName, jchar newValue));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2D
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName, jdouble newValue));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2F
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName, jfloat newValue));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2B
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName, jbyte newValue));
-  jobject JNICALL Java_java_io_ObjectInputStream_newInstance
+  JNIEXPORT jobject JNICALL Java_java_io_ObjectInputStream_newInstance
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject instantiationClass,
                 jobject constructorClass));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2S
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName, jshort newValue));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2J
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName, jlong newValue));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2Z
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName,
                 jboolean newValue));
     
   /* NativesCommonAccessController*/
-  jboolean JNICALL Java_java_security_AccessController_initializeInternal
+  JNIEXPORT jboolean JNICALL Java_java_security_AccessController_initializeInternal
     PROTOTYPE ((JNIEnv * env, jclass thisClz));
     
   /* NativesCommonNetworkInterface*/
-  jobjectArray JNICALL Java_java_net_NetworkInterface_getNetworkInterfacesImpl
+  JNIEXPORT jobjectArray JNICALL Java_java_net_NetworkInterface_getNetworkInterfacesImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz));
     
   /* NativesCommonObjectStreamClass*/
-  jboolean JNICALL Java_java_io_ObjectStreamClass_hasClinit
+  JNIEXPORT jboolean JNICALL Java_java_io_ObjectStreamClass_hasClinit
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetClass));
-  jobject JNICALL Java_java_io_ObjectStreamClass_getFieldSignature
+  JNIEXPORT jobject JNICALL Java_java_io_ObjectStreamClass_getFieldSignature
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject reflectField));
-  jobject JNICALL Java_java_io_ObjectStreamClass_getConstructorSignature
+  JNIEXPORT jobject JNICALL Java_java_io_ObjectStreamClass_getConstructorSignature
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject reflectConstructor));
-  jobject JNICALL Java_java_io_ObjectStreamClass_getMethodSignature
+  JNIEXPORT jobject JNICALL Java_java_io_ObjectStreamClass_getMethodSignature
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject reflectMethod));
-  void JNICALL Java_java_io_ObjectStreamClass_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_io_ObjectStreamClass_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
     
   /* NativesCommonInflater*/
-  void JNICALL Java_java_util_zip_Inflater_endImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Inflater_endImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
-  void JNICALL Java_java_util_zip_Inflater_setInputImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Inflater_setInputImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buf, jint off,
                 jint len, jlong handle));
-  jint JNICALL Java_java_util_zip_Inflater_inflateImpl
+  JNIEXPORT jint JNICALL Java_java_util_zip_Inflater_inflateImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buf, int off, int len,
                 jlong handle));
-  void JNICALL Java_java_util_zip_Inflater_setDictionaryImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Inflater_setDictionaryImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray dict, int off, int len,
                 jlong handle));
-  void JNICALL Java_java_util_zip_Inflater_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_util_zip_Inflater_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  void JNICALL Java_java_util_zip_Inflater_resetImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_Inflater_resetImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
 
-  jlong JNICALL Java_java_util_zip_Inflater_getTotalOutImpl
+  JNIEXPORT jlong JNICALL Java_java_util_zip_Inflater_getTotalOutImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
-  jlong JNICALL Java_java_util_zip_Inflater_createStream
+  JNIEXPORT jlong JNICALL Java_java_util_zip_Inflater_createStream
     PROTOTYPE ((JNIEnv * env, jobject recv, jboolean noHeader));
-  jlong JNICALL Java_java_util_zip_Inflater_getTotalInImpl
+  JNIEXPORT jlong JNICALL Java_java_util_zip_Inflater_getTotalInImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
-  jint JNICALL Java_java_util_zip_Inflater_getAdlerImpl
+  JNIEXPORT jint JNICALL Java_java_util_zip_Inflater_getAdlerImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
     
   /* NativesCommonSystem*/
-  void JNICALL Java_java_lang_System_setFieldImpl
+  JNIEXPORT void JNICALL Java_java_lang_System_setFieldImpl
     PROTOTYPE ((JNIEnv * env, jclass cls, jstring name, jobject stream));
   jobject createSystemPropertyList
     PROTOTYPE ((JNIEnv * env, const char *defaultValues[], int defaultCount));
-  jstring JNICALL Java_java_lang_System_getCommPortList
+  JNIEXPORT jstring JNICALL Java_java_lang_System_getCommPortList
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  jstring JNICALL Java_java_lang_System_getEncoding
+  JNIEXPORT jstring JNICALL Java_java_lang_System_getEncoding
     PROTOTYPE ((JNIEnv * env, jclass clazz, jint encodingType));
-  jobject JNICALL Java_java_lang_System_getPropertyList
+  JNIEXPORT jobject JNICALL Java_java_lang_System_getPropertyList
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  jstring JNICALL Java_java_lang_SystemProperties_getEncoding
+  JNIEXPORT jstring JNICALL Java_java_lang_SystemProperties_getEncoding
     PROTOTYPE ((JNIEnv * env, jclass clazz, jint encodingType));
-  jstring JNICALL Java_java_lang_System_mapLibraryName
+  JNIEXPORT jstring JNICALL Java_java_lang_System_mapLibraryName
     PROTOTYPE ((JNIEnv * env, jclass unusedClass, jstring inName));
-  void JNICALL Java_java_lang_System_initLocale
+  JNIEXPORT void JNICALL Java_java_lang_System_initLocale
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  jobject JNICALL Java_java_lang_SystemProperties_getPropertyList
+  JNIEXPORT jobject JNICALL Java_java_lang_SystemProperties_getPropertyList
     PROTOTYPE ((JNIEnv * env, jclass clazz));
   char *readCodepageMappings
     PROTOTYPE ((JNIEnv * env, char *codepage, char *codepageResult,
                 int resultSize));
                 
   /* NativesCommonProxy*/
-  jclass JNICALL Java_java_lang_reflect_Proxy_defineClassImpl
+  JNIEXPORT jclass JNICALL Java_java_lang_reflect_Proxy_defineClassImpl
     PROTOTYPE ((JNIEnv * env, jclass recvClass, jobject classLoader,
                 jstring className, jbyteArray classBytes));
-  jclass JNICALL
+  JNIEXPORT jclass JNICALL
     Java_java_lang_reflect_Proxy_defineClass0__Ljava_lang_ClassLoader_2Ljava_lang_String_2_3BIILjava_lang_Object_2_3Ljava_lang_Object_2Ljava_lang_Object_2
     PROTOTYPE ((JNIEnv * env, jclass recvClass, jobject classLoader,
                 jstring className, jbyteArray classBytes, jint offset,
                 jint length, jobject pd, jobject signers, jobject source));
-  jclass JNICALL
+  JNIEXPORT jclass JNICALL
     Java_java_lang_reflect_Proxy_defineClass0__Ljava_lang_ClassLoader_2Ljava_lang_String_2_3BII
     PROTOTYPE ((JNIEnv * env, jclass recvClass, jobject classLoader,
                 jstring className, jbyteArray classBytes, jint offset,
                 jint length));
                 
   /* NativesCommonGlobals*/
-  void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
-  jint JNICALL JCL_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
+  JNIEXPORT void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
+  JNIEXPORT jint JNICALL JCL_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
   
   /* NativesCommonRuntime*/
-  jlong JNICALL Java_java_lang_Runtime_maxMemoryImpl
+  JNIEXPORT jlong JNICALL Java_java_lang_Runtime_maxMemoryImpl
     PROTOTYPE ((JNIEnv * env, jclass cls));
-  jint JNICALL Java_java_lang_Runtime_availableProcessorsImpl
+  JNIEXPORT jint JNICALL Java_java_lang_Runtime_availableProcessorsImpl
     PROTOTYPE ((JNIEnv * env, jclass cls));
     
   /* NativesCommonJarFile*/
-  jarray JNICALL Java_java_util_jar_JarFile_getMetaEntriesImpl
+  JNIEXPORT jarray JNICALL Java_java_util_jar_JarFile_getMetaEntriesImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray zipName));
     
   /* NativesCommonRandomAccessFile*/
-  jint JNICALL Java_java_io_RandomAccessFile_readImpl
+  JNIEXPORT jint JNICALL Java_java_io_RandomAccessFile_readImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
                 jint count, jlong descriptor));
-  void JNICALL Java_java_io_RandomAccessFile_seek
+  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_seek
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong pos));
-  void JNICALL Java_java_io_RandomAccessFile_closeImpl
+  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  jlong JNICALL Java_java_io_RandomAccessFile_length
+  JNIEXPORT jlong JNICALL Java_java_io_RandomAccessFile_length
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  jlong JNICALL Java_java_io_RandomAccessFile_getFilePointer
+  JNIEXPORT jlong JNICALL Java_java_io_RandomAccessFile_getFilePointer
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  void JNICALL Java_java_io_RandomAccessFile_setLengthImpl
+  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_setLengthImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong newLength));
-  void JNICALL Java_java_io_RandomAccessFile_writeImpl
+  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_writeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
                 jint count, jlong descriptor));
-  jint JNICALL Java_java_io_RandomAccessFile_readByteImpl
+  JNIEXPORT jint JNICALL Java_java_io_RandomAccessFile_readByteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
-  void JNICALL Java_java_io_RandomAccessFile_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass rafClazz));
-  jint JNICALL Java_java_io_RandomAccessFile_openImpl
+  JNIEXPORT jint JNICALL Java_java_io_RandomAccessFile_openImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path,
                 jboolean writable));
-  void JNICALL Java_java_io_RandomAccessFile_writeByteImpl
+  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_writeByteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jint c, jlong descriptor));
     
   /* NativesCommonObjectOutputStream*/
-  jfloat JNICALL Java_java_io_ObjectOutputStream_getFieldFloat
+  JNIEXPORT jfloat JNICALL Java_java_io_ObjectOutputStream_getFieldFloat
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName));
-  jobject JNICALL Java_java_io_ObjectOutputStream_getFieldObj
+  JNIEXPORT jobject JNICALL Java_java_io_ObjectOutputStream_getFieldObj
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName,
                 jobject fieldTypeName));
-  jshort JNICALL Java_java_io_ObjectOutputStream_getFieldShort
+  JNIEXPORT jshort JNICALL Java_java_io_ObjectOutputStream_getFieldShort
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName));
-  jbyte JNICALL Java_java_io_ObjectOutputStream_getFieldByte
+  JNIEXPORT jbyte JNICALL Java_java_io_ObjectOutputStream_getFieldByte
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName));
-  jlong JNICALL Java_java_io_ObjectOutputStream_getFieldLong
+  JNIEXPORT jlong JNICALL Java_java_io_ObjectOutputStream_getFieldLong
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName));
-  jdouble JNICALL Java_java_io_ObjectOutputStream_getFieldDouble
+  JNIEXPORT jdouble JNICALL Java_java_io_ObjectOutputStream_getFieldDouble
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName));
-  jboolean JNICALL Java_java_io_ObjectOutputStream_getFieldBool
+  JNIEXPORT jboolean JNICALL Java_java_io_ObjectOutputStream_getFieldBool
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName));
-  jint JNICALL Java_java_io_ObjectOutputStream_getFieldInt
+  JNIEXPORT jint JNICALL Java_java_io_ObjectOutputStream_getFieldInt
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName));
-  jchar JNICALL Java_java_io_ObjectOutputStream_getFieldChar
+  JNIEXPORT jchar JNICALL Java_java_io_ObjectOutputStream_getFieldChar
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
                 jobject declaringClass, jobject fieldName));
                 
   /* NativesCommonFileInputStream*/
-  jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_readByteImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_readByteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
-  jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_readImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_readImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
                 jint count, jlong descriptor));
-  jlong JNICALL Java_com_ibm_oti_connection_file_FileInputStream_skipImpl
+  JNIEXPORT jlong JNICALL Java_com_ibm_oti_connection_file_FileInputStream_skipImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong count, jlong descriptor));
-  jlong JNICALL Java_com_ibm_oti_connection_file_FileInputStream_openImpl
+  JNIEXPORT jlong JNICALL Java_com_ibm_oti_connection_file_FileInputStream_openImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-  void JNICALL Java_com_ibm_oti_connection_file_FileInputStream_closeImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_file_FileInputStream_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
-  jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_availableImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_availableImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
     
   /* NativesCommonSocket*/
   void createSocket
     PROTOTYPE ((JNIEnv * env, jobject thisObjFD, int sockType,
                 jboolean preferIPv4Stack));
-  void JNICALL Java_java_net_Socket_socketCloseImpl
+  JNIEXPORT void JNICALL Java_java_net_Socket_socketCloseImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  void JNICALL Java_java_net_Socket_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_net_Socket_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz, jboolean jcl_supports_ipv6));
-  jobject JNICALL Java_java_net_Socket_getSocketLocalAddressImpl
+  JNIEXPORT jobject JNICALL Java_java_net_Socket_getSocketLocalAddressImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jboolean preferIPv6Addresses));
-  jobject JNICALL Java_java_net_Socket_getSocketOptionImpl
+  JNIEXPORT jobject JNICALL Java_java_net_Socket_getSocketOptionImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject aFileDescriptor,
                 jint anOption));
-  void JNICALL Java_java_net_Socket_setSocketOptionImpl
+  JNIEXPORT void JNICALL Java_java_net_Socket_setSocketOptionImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject aFileDescriptor,
                 jint anOption, jobject aValue));
-  jint JNICALL Java_java_net_Socket_getSocketFlags
+  JNIEXPORT jint JNICALL Java_java_net_Socket_getSocketFlags
     PROTOTYPE ((JNIEnv * env, jclass thisClz));
-  jint JNICALL Java_java_net_Socket_getSocketLocalPortImpl
+  JNIEXPORT jint JNICALL Java_java_net_Socket_getSocketLocalPortImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jboolean preferIPv6Addresses));
   I_32 pollSelectRead
@@ -479,7 +479,7 @@
                 BOOLEAN poll));
                 
   /* NativesCommonPlainMulticastSocketImpl*/
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_java_net_PlainMulticastSocketImpl_createMulticastSocketImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
                 jboolean preferIPv4Stack));
@@ -487,62 +487,62 @@
   /* NativesCommonZipFile*/
   void throwJavaZIOException PROTOTYPE ((JNIEnv * env, const char *message));
   void throwNewInternalError PROTOTYPE ((JNIEnv * env, const char *message));
-  void JNICALL Java_java_util_zip_ZipFile_closeZipImpl
+  JNIEXPORT void JNICALL Java_java_util_zip_ZipFile_closeZipImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  jobject JNICALL Java_java_util_zip_ZipFile_00024ZFEnum_getNextEntry
+  JNIEXPORT jobject JNICALL Java_java_util_zip_ZipFile_00024ZFEnum_getNextEntry
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor,
                 jlong nextEntry));
-  void JNICALL Java_java_util_zip_ZipFile_ntvinit
+  JNIEXPORT void JNICALL Java_java_util_zip_ZipFile_ntvinit
     PROTOTYPE ((JNIEnv * env, jclass cls));
   void throwNewIllegalStateException
     PROTOTYPE ((JNIEnv * env, const char *message));
-  jlong JNICALL Java_java_util_zip_ZipFile_00024ZFEnum_resetZip
+  JNIEXPORT jlong JNICALL Java_java_util_zip_ZipFile_00024ZFEnum_resetZip
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
-  jint JNICALL Java_java_util_zip_ZipFile_openZipImpl
+  JNIEXPORT jint JNICALL Java_java_util_zip_ZipFile_openZipImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray zipName));
-  jobject JNICALL Java_java_util_zip_ZipFile_getEntryImpl
+  JNIEXPORT jobject JNICALL Java_java_util_zip_ZipFile_getEntryImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong zipPointer,
                 jstring entryName));
-  jbyteArray JNICALL Java_java_util_zip_ZipFile_inflateEntryImpl2
+  JNIEXPORT jbyteArray JNICALL Java_java_util_zip_ZipFile_inflateEntryImpl2
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong zipPointer,
                 jstring entryName));
   void throwNewIllegalArgumentException
     PROTOTYPE ((JNIEnv * env, const char *message));
     
   /* NativesCommonInetAddress*/
-  void JNICALL Java_java_net_InetAddress_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_net_InetAddress_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz, jboolean ipv6_support));
-  jint JNICALL Java_java_net_InetAddress_inetAddrImpl
+  JNIEXPORT jint JNICALL Java_java_net_InetAddress_inetAddrImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jstring host));
-  jstring JNICALL Java_java_net_InetAddress_getHostNameImpl
+  JNIEXPORT jstring JNICALL Java_java_net_InetAddress_getHostNameImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  jobjectArray JNICALL Java_java_net_InetAddress_getAliasesByNameImpl
+  JNIEXPORT jobjectArray JNICALL Java_java_net_InetAddress_getAliasesByNameImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jstring aName));
-  jstring JNICALL Java_java_net_InetAddress_inetNtoaImpl
+  JNIEXPORT jstring JNICALL Java_java_net_InetAddress_inetNtoaImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jint hipAddr));
-  jobject JNICALL Java_java_net_InetAddress_getHostByAddrImpl
+  JNIEXPORT jobject JNICALL Java_java_net_InetAddress_getHostByAddrImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jbyteArray addr));
-  jobject JNICALL Java_java_net_InetAddress_getHostByNameImpl
+  JNIEXPORT jobject JNICALL Java_java_net_InetAddress_getHostByNameImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jstring aName,
                 jboolean preferIPv6Addresses));
-  jobjectArray JNICALL Java_java_net_InetAddress_getAliasesByAddrImpl
+  JNIEXPORT jobjectArray JNICALL Java_java_net_InetAddress_getAliasesByAddrImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jstring addr));
     
   /* NativesCommonTimeZone*/
-  jstring JNICALL Java_java_util_TimeZone_getCustomTimeZone
+  JNIEXPORT jstring JNICALL Java_java_util_TimeZone_getCustomTimeZone
     PROTOTYPE ((JNIEnv * env, jclass clazz, jintArray tzinfo,
                 jbooleanArray isCustomTimeZone));
                 
   /* NativesCommonFileOutputStream*/
-  void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_writeImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_writeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
                 jint count, jlong descriptor));
-  jlong JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_openImpl
+  JNIEXPORT jlong JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_openImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path,
                 jboolean append));
-  void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_writeByteImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_writeByteImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jint c, jlong descriptor));
-  void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_closeImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
     
   /* NativesCommonFloatParsing*/
@@ -601,7 +601,7 @@
                 jboolean preferIPv6Addresses));
                 
   /* NativesCommonNativeCharConv*/
-  jboolean JNICALL
+  JNIEXPORT jboolean JNICALL
     Java_com_ibm_oti_io_NativeCharacterConverter_supportsNativeCharConv
     PROTOTYPE ((JNIEnv * env, jobject recv));
     
@@ -636,164 +636,164 @@
 
   /* NativesCommonSocket*/
   void throwSocketException PROTOTYPE ((JNIEnv * env, I_32 errorNumber));
-  void JNICALL Java_com_ibm_oti_connection_socket_Connection_connectStreamImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_socket_Connection_connectStreamImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jint localPort, jint remotePort,
                 jbyteArray addr));
-  jint JNICALL Java_com_ibm_oti_connection_socket_Connection_sendStreamImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_socket_Connection_sendStreamImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jbyteArray data, jint offset,
                 jint count));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_com_ibm_oti_connection_socket_Connection_connectStreamImpl2
     PROTOTYPE ((JNIEnv * env, jobject socket, jint localPort, jint remotePort,
                 jbyteArray addr));
-  jint JNICALL
+  JNIEXPORT jint JNICALL
     Java_com_ibm_oti_connection_datagram_Connection_sendDatagramImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jbyteArray data, jint offset,
                 jint msgLength, jbyteArray addr, jint targetPort));
-  jstring JNICALL Java_com_ibm_oti_connection_socket_Socket_getHostByAddrImpl
+  JNIEXPORT jstring JNICALL Java_com_ibm_oti_connection_socket_Socket_getHostByAddrImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject addr));
-  jint JNICALL
+  JNIEXPORT jint JNICALL
     Java_com_ibm_oti_connection_datagram_Connection_nominalDatagramImpl
     PROTOTYPE ((JNIEnv * env, jobject socket));
-  jobject JNICALL Java_com_ibm_oti_connection_socket_Socket_getHostByNameImpl
+  JNIEXPORT jobject JNICALL Java_com_ibm_oti_connection_socket_Socket_getHostByNameImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jstring aName));
   I_32 conPollSelectRead
     PROTOTYPE ((JNIEnv * env, jobject socket, jint timeout, BOOLEAN poll,
                 BOOLEAN accept));
-  jint JNICALL
+  JNIEXPORT jint JNICALL
     Java_com_ibm_oti_connection_datagram_Connection_netMaxDatagramImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jobject datagramSocket));
   void *getSocketDescriptor PROTOTYPE ((JNIEnv * env, jobject fd));
-  jint JNICALL
+  JNIEXPORT jint JNICALL
     Java_com_ibm_oti_connection_datagram_Connection_netNominalDatagramImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jobject datagramSocket));
   void setSocketDescriptor
     PROTOTYPE ((JNIEnv * env, jobject fd, void *value));
-  jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getSocketOptionImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getSocketOptionImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jint anOption));
-  jstring JNICALL Java_java_lang_System_getHostnameImpl
+  JNIEXPORT jstring JNICALL Java_java_lang_System_getHostnameImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  void JNICALL Java_com_ibm_oti_connection_socket_Socket_setSocketOptionImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_socket_Socket_setSocketOptionImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jint anOption, jint aValue));
-  void JNICALL Java_com_ibm_oti_connection_socket_Socket_socketCloseImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_socket_Socket_socketCloseImpl
     PROTOTYPE ((JNIEnv * env, jobject socket));
-  jint JNICALL
+  JNIEXPORT jint JNICALL
     Java_com_ibm_oti_connection_socket_Connection_availableStreamImpl
     PROTOTYPE ((JNIEnv * env, jobject socket));
   void conUpdateSocket
     PROTOTYPE ((JNIEnv * env, hysockaddr_t sockaddrP, jobject socket,
                 int remote));
-  jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getIPImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getIPImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jstring aName));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_com_ibm_oti_connection_datagram_Connection_bindDatagramImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jint localPort));
-  jint JNICALL Java_com_ibm_oti_connection_datagram_Connection_maxDatagramImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_datagram_Connection_maxDatagramImpl
     PROTOTYPE ((JNIEnv * env, jobject socket));
-  jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getSocketFlags
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getSocketFlags
     PROTOTYPE ((JNIEnv * env, jclass thisClz));
-  void JNICALL Java_com_ibm_oti_connection_socket_Connection_shutdownSideImpl
+  JNIEXPORT void JNICALL Java_com_ibm_oti_connection_socket_Connection_shutdownSideImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jboolean inputSide));
-  jint JNICALL Java_com_ibm_oti_connection_socket_Connection_receiveStreamImpl
+  JNIEXPORT jint JNICALL Java_com_ibm_oti_connection_socket_Connection_receiveStreamImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jbyteArray data, jint offset,
                 jint count, jint timeout));
   hysocket_t createAndBindSocket
     PROTOTYPE ((JNIEnv * env, jobject socket, int sockType, int localPort));
-  jint JNICALL
+  JNIEXPORT jint JNICALL
     Java_com_ibm_oti_connection_datagram_Connection_receiveDatagramImpl
     PROTOTYPE ((JNIEnv * env, jobject socket, jbyteArray data, jint offset,
                 jint msgLength, jint timeout));
                 
   /* NativesCommonFileDescriptor*/
-  void JNICALL Java_java_io_FileDescriptor_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_io_FileDescriptor_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass fdClazz));
-  void JNICALL Java_java_io_FileDescriptor_sync
+  JNIEXPORT void JNICALL Java_java_io_FileDescriptor_sync
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  jboolean JNICALL Java_java_io_FileDescriptor_valid
+  JNIEXPORT jboolean JNICALL Java_java_io_FileDescriptor_valid
     PROTOTYPE ((JNIEnv * env, jobject recv));
     
   /* NativesCommonProcess*/
-  jint JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_availableImpl
+  JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_availableImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_destroyImpl
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_destroyImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_writeImpl
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_writeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
                 jint nbytes, jlong handle));
-  jint JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_waitForCompletionImpl
+  JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_waitForCompletionImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_closeImpl
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_closeImpl
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-  jint JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_readImpl
+  JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_readImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
                 jint nbytes, jlong handle));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_setFDImpl
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_setFDImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jobject arg1, jlong arg2));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_closeImpl
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_closeImpl
     PROTOTYPE ((JNIEnv * env, jobject recv));
-  jlongArray JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_createImpl
+  JNIEXPORT jlongArray JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_createImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject recv, jobjectArray arg1,
                 jobjectArray arg2, jbyteArray dir));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_setFDImpl
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_setFDImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jobject arg1, jlong arg2));
-  void JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
     
   /* NativesCommonServerSocket*/
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_com_ibm_oti_connection_serversocket_Connection_acceptStreamSocketImpl
     PROTOTYPE ((JNIEnv * env, jobject serversocket, jobject socket,
                 jint timeout));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_com_ibm_oti_connection_serversocket_Connection_listenStreamImpl
     PROTOTYPE ((JNIEnv * env, jobject serversocket, jint localPort,
                 jint backlog));
-  void JNICALL
+  JNIEXPORT void JNICALL
     Java_com_ibm_oti_connection_serversocket_Connection_acceptStreamSocketImpl2
     PROTOTYPE ((JNIEnv * env, jobject serversocket, jobject socket,
                 jint timeout));
                 
   /* NativesCommonPlainDatagramSocketImpl*/
-  jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendDatagramImpl2
+  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendDatagramImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jbyteArray data, jint offset, jint msgLength, jint targetPort,
                 jboolean bindToDevice, jint trafficClass,
                 jobject inetAddress));
-  void JNICALL Java_java_net_PlainDatagramSocketImpl_createDatagramSocketImpl
+  JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_createDatagramSocketImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
                 jboolean preferIPv4Stack));
-  jint JNICALL Java_java_net_PlainDatagramSocketImpl_peekDatagramImpl
+  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_peekDatagramImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jobject senderAddress, jint timeout));
-  jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendConnectedDatagramImpl
+  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendConnectedDatagramImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jbyteArray data, jint offset, jint msgLength,
                 jboolean bindToDevice));
-  void JNICALL Java_java_net_PlainDatagramSocketImpl_oneTimeInitialization
+  JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz, jboolean ipv6support));
-  void JNICALL Java_java_net_PlainDatagramSocketImpl_connectDatagramImpl2
+  JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_connectDatagramImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jint remotePort, jint trafficClass, jobject inetAddress));
-  jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl2
+  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jobject datagramPacket, jbyteArray data, jint offset,
                 jint msgLength, jint timeout, jboolean peek));
-  jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl
+  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jobject datagramPacket, jbyteArray data, jint offset,
                 jint msgLength, jint timeout));
-  jboolean JNICALL Java_java_net_PlainDatagramSocketImpl_socketBindImpl2
+  JNIEXPORT jboolean JNICALL Java_java_net_PlainDatagramSocketImpl_socketBindImpl2
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jint localPort, jboolean doDevice, jobject inetAddress));
-  void JNICALL Java_java_net_PlainDatagramSocketImpl_disconnectDatagramImpl
+  JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_disconnectDatagramImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  jint JNICALL Java_java_net_PlainDatagramSocketImpl_recvConnectedDatagramImpl
+  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_recvConnectedDatagramImpl
     PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
                 jobject datagramPacket, jbyteArray data, jint offset,
                 jint msgLength, jint timeout, jboolean peek));
@@ -802,20 +802,20 @@
   ** COMPONENT: NativesWin32
   ************************************************************/
   /* NativesWin32CharConv*/
-  jint JNICALL
+  JNIEXPORT jint JNICALL
     Java_com_ibm_oti_io_NativeCharacterConverter_convertStreamBytesToCharsImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray srcBytes,
                 jint srcOffset, jint srcCount, jcharArray dstChars,
                 jint dstOffset, jint dstCount, jintArray stopPos,
                 jstring codePageID, jlong osCodePage));
-  jbyteArray JNICALL
+  JNIEXPORT jbyteArray JNICALL
     Java_com_ibm_oti_io_NativeCharacterConverter_convertCharsToBytesImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jcharArray chars, jint offset,
                 jint count, jstring codePageID, jlong osCodePage));
-  jboolean JNICALL
+  JNIEXPORT jboolean JNICALL
     Java_com_ibm_oti_io_NativeCharacterConverter_supportsCodePage
     PROTOTYPE ((JNIEnv * env, jobject recv, jstring javaCodePage));
-  jcharArray JNICALL
+  JNIEXPORT jcharArray JNICALL
     Java_com_ibm_oti_io_NativeCharacterConverter_convertBytesToCharsImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray bytes, jint offset,
                 jint count, jstring codePageID, jlong osCodePage));
@@ -902,82 +902,82 @@
     PROTOTYPE ((JNIEnv * env, jclass cls, jint intValue));
 
   /* harmonyNativesCommonMath*/
-  jdouble JNICALL Java_java_lang_Math_asin
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_asin
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_rint
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_rint
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_atan
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_atan
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_exp
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_exp
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_tan
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_tan
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_rint
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_rint
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_ceil
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_ceil
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_IEEEremainder
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_IEEEremainder
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1, jdouble arg2));
-  jdouble JNICALL Java_java_lang_Math_floor
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_floor
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_sin
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_sin
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_log
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_log
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_acos
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_acos
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_ceil
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_ceil
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_sqrt
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_sqrt
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_pow
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_pow
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1, jdouble arg2));
-  jdouble JNICALL Java_java_lang_StrictMath_exp
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_exp
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_acos
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_acos
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_floor
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_floor
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_cos
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_cos
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_cos
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_cos
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_sqrt
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_sqrt
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_tan
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_tan
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_sin
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_sin
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_pow
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_pow
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1, jdouble arg2));
-  jdouble JNICALL Java_java_lang_StrictMath_asin
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_asin
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_StrictMath_atan2
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_atan2
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1, jdouble arg2));
-  jdouble JNICALL Java_java_lang_Math_IEEEremainder
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_IEEEremainder
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1, jdouble arg2));
-  jdouble JNICALL Java_java_lang_StrictMath_log
+  JNIEXPORT jdouble JNICALL Java_java_lang_StrictMath_log
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_atan
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_atan
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1));
-  jdouble JNICALL Java_java_lang_Math_atan2
+  JNIEXPORT jdouble JNICALL Java_java_lang_Math_atan2
     PROTOTYPE ((JNIEnv * env, jclass jclazz, jdouble arg1, jdouble arg2));
 
   /* harmonyNativesLUNIGlobals*/
-  jint JNICALL JNI_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
-  void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
+  JNIEXPORT jint JNICALL JNI_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
+  JNIEXPORT void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
 
   /* harmonyNativesLibGlobals*/
   jint JNICALL ClearLibAttach PROTOTYPE ((JNIEnv * env));
   void JNICALL ClearLibDetach PROTOTYPE ((JNIEnv * env));
 
   /* harmonyNativesMathGlobals*/
-  jint JNICALL JNI_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
-  void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
+  JNIEXPORT jint JNICALL JNI_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
+  JNIEXPORT void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
 
   /* harmonyNativesArchiveGlobals*/
-  jint JNICALL JNI_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
-  void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
+  JNIEXPORT jint JNICALL JNI_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
+  JNIEXPORT void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
 
 #if defined(__cplusplus)
 }

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c Tue Dec 12 06:17:27 2006
@@ -114,7 +114,7 @@
     ar[newAt] = 0;
 }
 
-jlongArray JNICALL
+JNIEXPORT jlongArray JNICALL
 Java_org_apache_harmony_math_util_BigInteger_addImpl (JNIEnv * env, jclass cls,
                                                jlongArray src1,
                                                jlongArray src2)
@@ -122,7 +122,7 @@
   return internalBigIntegerAdd (env, src1, src2);
 }
 
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_org_apache_harmony_math_util_BigInteger_compImpl (JNIEnv * env, jclass cls,
                                                 jlongArray src1,
                                                 jlongArray src2)
@@ -184,7 +184,7 @@
   return result;
 }
 
-jlongArray JNICALL
+JNIEXPORT jlongArray JNICALL
 Java_org_apache_harmony_math_util_BigInteger_divImpl (JNIEnv * env, jclass cls,
                                                jlongArray topObject,
                                                jlongArray bottomObject)
@@ -463,7 +463,7 @@
   return NULL;
 }
 
-jlongArray JNICALL
+JNIEXPORT jlongArray JNICALL
 Java_org_apache_harmony_math_util_BigInteger_mulImpl (JNIEnv * env, jclass cls,
                                                jlongArray src1,
                                                jlongArray src2)
@@ -597,14 +597,14 @@
   return NULL;
 }
 
-jlongArray JNICALL
+JNIEXPORT jlongArray JNICALL
 Java_org_apache_harmony_math_util_BigInteger_negImpl (JNIEnv * env, jclass cls,
                                                jlongArray src)
 {
   return internalBigIntegerNeg (env, src);
 }
 
-jlongArray JNICALL
+JNIEXPORT jlongArray JNICALL
 Java_org_apache_harmony_math_util_BigInteger_remImpl (JNIEnv * env, jclass cls,
                                                jlongArray topObject,
                                                jlongArray bottomObject)
@@ -927,7 +927,7 @@
 
 }
 
-jlongArray JNICALL
+JNIEXPORT jlongArray JNICALL
 Java_org_apache_harmony_math_util_BigInteger_shlImpl (JNIEnv * env, jclass cls,
                                                jlongArray src, jint shiftval)
 {
@@ -1063,7 +1063,7 @@
   return NULL;
 }
 
-jlongArray JNICALL
+JNIEXPORT jlongArray JNICALL
 Java_org_apache_harmony_math_util_BigInteger_subImpl (JNIEnv * env, jclass cls,
                                                jlongArray src1,
                                                jlongArray src2)

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.h?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.h (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.h Tue Dec 12 06:17:27 2006
@@ -17,22 +17,22 @@
 
 #if !defined(bigint_h)
 #define bigint_h
-jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_subImpl
+JNIEXPORT jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_subImpl
 PROTOTYPE ((JNIEnv * env, jclass cls, jlongArray src1, jlongArray src2));
-jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_divImpl
+JNIEXPORT jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_divImpl
 PROTOTYPE ((JNIEnv * env, jclass cls, jlongArray topObject,
             jlongArray bottomObject));
-jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_mulImpl
+JNIEXPORT jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_mulImpl
 PROTOTYPE ((JNIEnv * env, jclass cls, jlongArray src1, jlongArray src2));
-jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_negImpl
+JNIEXPORT jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_negImpl
 PROTOTYPE ((JNIEnv * env, jclass cls, jlongArray src));
-jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_addImpl
+JNIEXPORT jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_addImpl
 PROTOTYPE ((JNIEnv * env, jclass cls, jlongArray src1, jlongArray src2));
-jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_remImpl
+JNIEXPORT jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_remImpl
 PROTOTYPE ((JNIEnv * env, jclass cls, jlongArray topObject,
             jlongArray bottomObject));
-jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_shlImpl
+JNIEXPORT jlongArray JNICALL Java_org_apache_harmony_math_util_BigInteger_shlImpl
 PROTOTYPE ((JNIEnv * env, jclass cls, jlongArray src, jint shiftval));
-jint JNICALL Java_org_apache_harmony_math_util_BigInteger_compImpl
+JNIEXPORT jint JNICALL Java_org_apache_harmony_math_util_BigInteger_compImpl
 PROTOTYPE ((JNIEnv * env, jclass cls, jlongArray src1, jlongArray src2));
 #endif /* bigint_h */



Mime
View raw message