harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r486158 [2/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
Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/file.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/file.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/file.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/file.c Tue Dec
12 06:17:27 2006
@@ -23,7 +23,7 @@
 #include "helpers.h"
 #include "jclprots.h"
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_deleteFileImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -38,7 +38,7 @@
   return result == 0;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_deleteDirImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -53,7 +53,7 @@
   return result == 0;
 }
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_io_File_listImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   struct dirEntry
@@ -152,7 +152,7 @@
   return answer;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_isDirectoryImpl (JNIEnv * env, jobject recv,
                                    jbyteArray path)
 {
@@ -168,7 +168,7 @@
   return result == HyIsDir;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_existsImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -183,7 +183,7 @@
   return result >= 0;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_isFileImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -198,7 +198,7 @@
   return result == HyIsFile;
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_io_File_lastModifiedImpl (JNIEnv * env, jobject recv,
                                     jbyteArray path)
 {
@@ -214,7 +214,7 @@
   return result;
 }
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_io_File_lengthImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -234,7 +234,7 @@
   return result;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_isAbsoluteImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   I_32 result = 0;
@@ -264,7 +264,7 @@
   return result;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_mkdirImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -279,7 +279,7 @@
   return result == 0;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_renameToImpl (JNIEnv * env, jobject recv,
                                 jbyteArray pathExist, jbyteArray pathNew)
 {
@@ -301,7 +301,7 @@
   return result == 0;
 }
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_io_File_getCanonImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   /* This needs work.  Currently is does no more or less than VAJ-20 ST implementation
@@ -325,7 +325,7 @@
   return answer;
 }
 
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_java_io_File_newFileImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   PORT_ACCESS_FROM_ENV (env);
@@ -354,7 +354,7 @@
   return 0;
 }
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_io_File_rootsImpl (JNIEnv * env, jclass clazz)
 {
   char rootStrings[HyMaxPath], *rootCopy;
@@ -396,7 +396,7 @@
   return answer;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_isHiddenImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   I_32 result;
@@ -410,7 +410,7 @@
   return result;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_setLastModifiedImpl (JNIEnv * env, jobject recv,
                                        jbyteArray path, jlong time)
 {
@@ -427,7 +427,7 @@
   return result;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_setReadOnlyImpl (JNIEnv * env, jobject recv,
                                    jbyteArray path)
 {
@@ -440,7 +440,7 @@
   return setPlatformReadOnly (env, pathCopy);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_io_File_oneTimeInitialization (JNIEnv * env, jclass clazz)
 {
   jclass arrayClass = (*env)->FindClass (env, "[B");
@@ -453,13 +453,13 @@
   return;
 }
 
-jbyteArray JNICALL
+JNIEXPORT jbyteArray JNICALL
 Java_java_io_File_properPathImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   return getPlatformPath (env, path);
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_isReadOnlyImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   I_32 result;
@@ -473,7 +473,7 @@
   return result;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_isWriteOnlyImpl (JNIEnv * env, jobject recv,
                                    jbyteArray path)
 {
@@ -488,7 +488,7 @@
   return result;
 }
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_io_File_getLinkImpl (JNIEnv * env, jobject recv, jbyteArray path)
 {
   jbyteArray answer;
@@ -513,7 +513,7 @@
   return answer;
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_File_isCaseSensitiveImpl (JNIEnv * env, jclass clazz)
 {
 /* Assume all other platforms ARE case sensitive and add to this list when they prove otherwise
*/

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/filedesc.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/filedesc.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/filedesc.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/filedesc.c Tue
Dec 12 06:17:27 2006
@@ -19,7 +19,7 @@
 #include "exceptions.h"
 #include "jclglob.h"
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_FileDescriptor_valid (JNIEnv * env, jobject recv)
 {
   /**
@@ -30,7 +30,7 @@
   return (IDATA) descriptor != -1;
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_io_FileDescriptor_sync (JNIEnv * env, jobject recv)
 {
   /* Cause all unwritten data to be written out to the OS */
@@ -57,7 +57,7 @@
     }
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_io_FileDescriptor_oneTimeInitialization (JNIEnv * env,
                                                    jclass fdClazz)
 {

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/inetadds.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/inetadds.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/inetadds.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/inetadds.c Tue
Dec 12 06:17:27 2006
@@ -31,7 +31,7 @@
  * @return	an array of InetAddress's
  */
 
-jobjectArray JNICALL
+JNIEXPORT jobjectArray JNICALL
 Java_java_net_InetAddress_getAliasesByNameImpl (JNIEnv * env, jclass clazz,
                                                 jstring aName)
 {
@@ -83,7 +83,7 @@
  *
  * @return	the InetAddress representing the host
  */
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_net_InetAddress_getHostByAddrImpl (JNIEnv * env, jclass clazz,
                                              jbyteArray addr)
 {
@@ -133,7 +133,7 @@
  * @return	the InetAddress representing the host
  */
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_net_InetAddress_getHostByNameImpl (JNIEnv * env, jclass clazz,
                                              jstring aName,
                                              jboolean preferIPv6Addresses)
@@ -226,7 +226,7 @@
  * @return	the local host name
  */
 
-jstring JNICALL
+JNIEXPORT jstring JNICALL
 Java_java_net_InetAddress_getHostNameImpl (JNIEnv * env, jclass clazz)
 {
 
@@ -255,7 +255,7 @@
  * @return	the network address
  */
 
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_java_net_InetAddress_inetAddrImpl (JNIEnv * env, jclass clazz,
                                         jstring host)
 {
@@ -289,7 +289,7 @@
  * @return	the dotted ip string
  */
 
-jstring JNICALL
+JNIEXPORT jstring JNICALL
 Java_java_net_InetAddress_inetNtoaImpl (JNIEnv * env, jclass clazz,
                                         jint hipAddr)
 {
@@ -313,7 +313,7 @@
     }
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_net_InetAddress_oneTimeInitialization (JNIEnv * env, jclass clazz,
                                                  jboolean ipv6_support)
 {

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c Tue
Dec 12 06:17:27 2006
@@ -43,7 +43,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;
@@ -142,7 +142,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/luni/src/main/native/luni/shared/math.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/math.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/math.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/math.c Tue Dec
12 06:17:27 2006
@@ -59,13 +59,13 @@
   return result;
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_acos (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_acos (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_acos (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_acos (arg1);
@@ -324,297 +324,297 @@
 }
 
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_asin (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_asin (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_asin (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_asin (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_atan (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_atan (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_atan (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_atan (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_atan2 (JNIEnv * env, jclass jclazz, jdouble arg1,
                                  jdouble arg2)
 {
   return internal_atan2 (arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_atan2 (JNIEnv * env, jclass jclazz, jdouble arg1,
                            jdouble arg2)
 {
   return internal_atan2 (arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_cbrt (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_cbrt (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_cbrt (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_cbrt (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_ceil (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_ceil (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_ceil (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_ceil (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_cos (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_cos (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_cos (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_cos (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_cosh (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_cosh (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_cosh (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_cosh (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_exp (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_exp (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_exp (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_exp (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_expm1 (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_expm1 (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_expm1 (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_expm1 (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_floor (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_floor (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_floor (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_floor (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_hypot (JNIEnv * env, jclass jclazz,
                                          jdouble arg1, jdouble arg2)
 {
   return internal_hypot (arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_hypot (JNIEnv * env, jclass jclazz, jdouble arg1,
                                    jdouble arg2)
 {
   return internal_hypot (arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_IEEEremainder (JNIEnv * env, jclass jclazz,
                                          jdouble arg1, jdouble arg2)
 {
   return internal_IEEEremainder (arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_IEEEremainder (JNIEnv * env, jclass jclazz, jdouble arg1,
                                    jdouble arg2)
 {
   return internal_IEEEremainder (arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_log (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_log (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_log (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_log (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_log10 (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_log10 (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_log10 (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_log10 (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_log1p (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_log1p (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_log1p(JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_log1p (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_nextafter (JNIEnv * env, jclass jclazz, jdouble arg1, jdouble arg2)
 {
   return internal_nextafter(arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_nextafter (JNIEnv * env, jclass jclazz, jdouble arg1, jdouble arg2)
 {
   return internal_nextafter(arg1, arg2);
 }
 
-jfloat JNICALL
+JNIEXPORT jfloat JNICALL
 Java_java_lang_StrictMath_nextafterf (JNIEnv * env, jclass jclazz, jfloat arg1, jfloat arg2)
 {
   return internal_nextafterf(arg1, arg2);
 }
 
-jfloat JNICALL
+JNIEXPORT jfloat JNICALL
 Java_java_lang_Math_nextafterf (JNIEnv * env, jclass jclazz, jfloat arg1, jfloat arg2)
 {
   return internal_nextafterf(arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_pow (JNIEnv * env, jclass jclazz, jdouble arg1,
                                jdouble arg2)
 {
   return internal_pow (arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_pow (JNIEnv * env, jclass jclazz, jdouble arg1,
                          jdouble arg2)
 {
   return internal_pow (arg1, arg2);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_rint (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_rint (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_rint (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_rint (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_sin (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_sin (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_sin (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_sin (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_sinh (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_sinh (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_sinh (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_sinh (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_sqrt (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_sqrt (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_sqrt (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_sqrt (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_tan (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_tan (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_tan (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_tan (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_StrictMath_tanh (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_tanh (arg1);
 }
 
-jdouble JNICALL
+JNIEXPORT jdouble JNICALL
 Java_java_lang_Math_tanh (JNIEnv * env, jclass jclazz, jdouble arg1)
 {
   return internal_tanh (arg1);

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c Tue Dec
12 06:17:27 2006
@@ -30,7 +30,7 @@
  * @return			an array of NetworkInterface objects of length 0 or more
  */
 
-jobjectArray JNICALL
+JNIEXPORT jobjectArray JNICALL
 Java_java_net_NetworkInterface_getNetworkInterfacesImpl (JNIEnv * env,
                                                          jclass clazz)
 {

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/ois.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/ois.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/ois.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/ois.c Tue Dec
12 06:17:27 2006
@@ -17,7 +17,7 @@
 
 #include "jni.h"
 
-void JNICALL
+JNIEXPORT void JNICALL
   Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2Z
   (JNIEnv * env, jclass clazz, jobject targetObject, jobject declaringClass,
    jobject fieldName, jboolean newValue)
@@ -37,7 +37,7 @@
     }
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
   Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2C
   (JNIEnv * env, jclass clazz, jobject targetObject, jobject declaringClass,
    jobject fieldName, jchar newValue)
@@ -56,7 +56,8 @@
       (*env)->SetCharField (env, targetObject, fid, newValue);
     }
 }
-void JNICALL
+
+JNIEXPORT void JNICALL
   Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2I
   (JNIEnv * env, jclass clazz, jobject targetObject, jobject declaringClass,
    jobject fieldName, jint newValue)
@@ -76,7 +77,7 @@
     }
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
   Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2F
   (JNIEnv * env, jclass clazz, jobject targetObject, jobject declaringClass,
    jobject fieldName, jfloat newValue)
@@ -95,7 +96,8 @@
       (*env)->SetFloatField (env, targetObject, fid, newValue);
     }
 }
-void JNICALL
+
+JNIEXPORT void JNICALL
   Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2D
   (JNIEnv * env, jclass clazz, jobject targetObject, jobject declaringClass,
    jobject fieldName, jdouble newValue)
@@ -115,7 +117,8 @@
     }
 
 }
-void JNICALL
+
+JNIEXPORT void JNICALL
   Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2S
   (JNIEnv * env, jclass clazz, jobject targetObject, jobject declaringClass,
    jobject fieldName, jshort newValue)
@@ -135,7 +138,8 @@
     }
 
 }
-void JNICALL
+
+JNIEXPORT void JNICALL
   Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2J
   (JNIEnv * env, jclass clazz, jobject targetObject, jobject declaringClass,
    jobject fieldName, jlong newValue)
@@ -154,7 +158,8 @@
       (*env)->SetLongField (env, targetObject, fid, newValue);
     }
 }
-jobject JNICALL
+
+JNIEXPORT jobject JNICALL
 Java_java_io_ObjectInputStream_newInstance (JNIEnv * env, jclass clazz,
                                             jobject instantiationClass,
                                             jobject constructorClass)
@@ -173,7 +178,8 @@
     }
 
 }
-void JNICALL
+
+JNIEXPORT void JNICALL
   Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2B
   (JNIEnv * env, jclass clazz, jobject targetObject, jobject declaringClass,
    jobject fieldName, jbyte newValue)
@@ -192,7 +198,8 @@
       (*env)->SetByteField (env, targetObject, fid, newValue);
     }
 }
-void JNICALL
+
+JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_objSetField (JNIEnv * env, jclass clazz,
                                             jobject targetObject,
                                             jobject declaringClass,

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/oos.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/oos.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/oos.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/oos.c Tue Dec
12 06:17:27 2006
@@ -17,7 +17,7 @@
 
 #include "jni.h"
 
-jlong JNICALL
+JNIEXPORT jlong JNICALL
 Java_java_io_ObjectOutputStream_getFieldLong (JNIEnv * env, jclass clazz,
                                               jobject targetObject,
                                               jobject declaringClass,
@@ -38,7 +38,8 @@
       return (*env)->GetLongField (env, targetObject, fid);
     }
 }
-jshort JNICALL
+
+JNIEXPORT jshort JNICALL
 Java_java_io_ObjectOutputStream_getFieldShort (JNIEnv * env, jclass clazz,
                                                jobject targetObject,
                                                jobject declaringClass,
@@ -59,7 +60,8 @@
       return (*env)->GetShortField (env, targetObject, fid);
     }
 }
-jdouble JNICALL
+
+JNIEXPORT jdouble JNICALL
 Java_java_io_ObjectOutputStream_getFieldDouble (JNIEnv * env, jclass clazz,
                                                 jobject targetObject,
                                                 jobject declaringClass,
@@ -80,7 +82,8 @@
       return (*env)->GetDoubleField (env, targetObject, fid);
     }
 }
-jboolean JNICALL
+
+JNIEXPORT jboolean JNICALL
 Java_java_io_ObjectOutputStream_getFieldBool (JNIEnv * env, jclass clazz,
                                               jobject targetObject,
                                               jobject declaringClass,
@@ -101,7 +104,8 @@
       return (*env)->GetBooleanField (env, targetObject, fid);
     }
 }
-jbyte JNICALL
+
+JNIEXPORT jbyte JNICALL
 Java_java_io_ObjectOutputStream_getFieldByte (JNIEnv * env, jclass clazz,
                                               jobject targetObject,
                                               jobject declaringClass,
@@ -122,7 +126,8 @@
       return (*env)->GetByteField (env, targetObject, fid);
     }
 }
-jfloat JNICALL
+
+JNIEXPORT jfloat JNICALL
 Java_java_io_ObjectOutputStream_getFieldFloat (JNIEnv * env, jclass clazz,
                                                jobject targetObject,
                                                jobject declaringClass,
@@ -145,7 +150,7 @@
 
 }
 
-jchar JNICALL
+JNIEXPORT jchar JNICALL
 Java_java_io_ObjectOutputStream_getFieldChar (JNIEnv * env, jclass clazz,
                                               jobject targetObject,
                                               jobject declaringClass,
@@ -166,7 +171,8 @@
       return (*env)->GetCharField (env, targetObject, fid);
     }
 }
-jobject JNICALL
+
+JNIEXPORT jobject JNICALL
 Java_java_io_ObjectOutputStream_getFieldObj (JNIEnv * env, jclass clazz,
                                              jobject targetObject,
                                              jobject declaringClass,
@@ -192,7 +198,8 @@
       return (*env)->GetObjectField (env, targetObject, fid);
     }
 }
-jint JNICALL
+
+JNIEXPORT jint JNICALL
 Java_java_io_ObjectOutputStream_getFieldInt (JNIEnv * env, jclass clazz,
                                              jobject targetObject,
                                              jobject declaringClass,

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/osc.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/osc.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/osc.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/osc.c Tue Dec
12 06:17:27 2006
@@ -18,7 +18,7 @@
 #include "vmi.h"
 #include "jclglob.h"
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_io_ObjectStreamClass_getFieldSignature (JNIEnv * env, jclass clazz,
                                                   jobject reflectField)
 {
@@ -28,7 +28,7 @@
                                                             MID_java_lang_reflect_Field_getSignature));
 }
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_io_ObjectStreamClass_getMethodSignature (JNIEnv * env, jclass clazz,
                                                    jobject reflectMethod)
 {
@@ -38,7 +38,7 @@
                                                             MID_java_lang_reflect_Method_getSignature));
 }
 
-jobject JNICALL
+JNIEXPORT jobject JNICALL
 Java_java_io_ObjectStreamClass_getConstructorSignature (JNIEnv * env,
                                                         jclass clazz,
                                                         jobject
@@ -51,7 +51,7 @@
                                                             MID_java_lang_reflect_Constructor_getSignature));
 }
 
-jboolean JNICALL
+JNIEXPORT jboolean JNICALL
 Java_java_io_ObjectStreamClass_hasClinit (JNIEnv * env, jclass clazz,
                                           jobject targetClass)
 {
@@ -71,7 +71,7 @@
     }
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_java_io_ObjectStreamClass_oneTimeInitialization (JNIEnv * env,
                                                       jclass clazz)
 {

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/process.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/process.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/process.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/process.c Tue
Dec 12 06:17:27 2006
@@ -25,7 +25,7 @@
   * Create a System Process with the specified
   * environment and arguments 
   */
-jlongArray JNICALL
+JNIEXPORT jlongArray JNICALL
 Java_org_apache_harmony_luni_internal_process_SystemProcess_createImpl (JNIEnv * env, jclass
clazz,
             jobject recv,
             jobjectArray arg1,
@@ -171,7 +171,7 @@
 }
 
 /* Kill the receiver */
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_SystemProcess_destroyImpl (JNIEnv * env, jobject
recv)
 {
   jlong pHandle;
@@ -183,7 +183,7 @@
 }
 
 /* Close the input stream*/
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessInputStream_closeImpl (JNIEnv * env,
                 jobject recv)
 {
@@ -192,7 +192,7 @@
         FID_org_apache_harmony_luni_internal_process_ProcessInputStream_fd));
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_closeImpl (JNIEnv * env,
                  jobject recv)
 {
@@ -202,7 +202,7 @@
 }
 
 /* Read nbytes from the receiver */
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessInputStream_readImpl (JNIEnv * env,
jobject recv,
                jbyteArray buffer,
                jint offset, jint nbytes,
@@ -215,7 +215,7 @@
 }
 
 /* Return the number of byes available to be read without blocking */
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessInputStream_availableImpl (JNIEnv *
env,
               jobject recv)
 {
@@ -236,7 +236,7 @@
 }
 
 /* Write nbytes to the receiver */
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_writeImpl (JNIEnv * env,
                  jobject recv,
                  jbyteArray buffer,
@@ -249,7 +249,7 @@
 }
 
 /* Set the descriptor field od the receiver */
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessInputStream_setFDImpl (JNIEnv * env,
                 jobject recv,
                 jobject arg1, jlong arg2)
@@ -257,7 +257,7 @@
   setJavaIoFileDescriptorContentsAsPointer (env, arg1, (void *) ((IDATA) arg2));
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_setFDImpl (JNIEnv * env,
                  jobject recv,
                  jobject arg1, jlong arg2)
@@ -266,7 +266,7 @@
 }
 
 /* Wait for the receiver to finish then return the exit value */
-jint JNICALL
+JNIEXPORT jint JNICALL
 Java_org_apache_harmony_luni_internal_process_SystemProcess_waitForCompletionImpl (JNIEnv
* env,
                  jobject recv)
 {
@@ -278,7 +278,7 @@
   return (jint) waitForProc ((IDATA) pHandle);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_SystemProcess_oneTimeInitialization (JNIEnv
* env,
                  jclass clazz)
 {
@@ -288,7 +288,7 @@
   JCL_CACHE_SET (env, FID_org_apache_harmony_luni_internal_process_SystemProcess_handle,
fid);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessOutputStream_oneTimeInitialization (JNIEnv
* env,
                  jclass clazz)
 {
@@ -305,7 +305,7 @@
   JCL_CACHE_SET (env, FID_org_apache_harmony_luni_internal_process_ProcessOutputStream_fd,
fid);
 }
 
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_ProcessInputStream_oneTimeInitialization (JNIEnv
* env,
                 jclass clazz)
 {
@@ -323,7 +323,7 @@
 }
 
 /* Close the handle */
-void JNICALL
+JNIEXPORT void JNICALL
 Java_org_apache_harmony_luni_internal_process_SystemProcess_closeImpl (JNIEnv * env, jobject
recv)
 {
   jlong pHandle;

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/proxy.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/proxy.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/proxy.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/proxy.c Tue Dec
12 06:17:27 2006
@@ -19,7 +19,7 @@
 #include "exceptions.h"
 #include "jclglob.h"
 
-jclass JNICALL
+JNIEXPORT jclass JNICALL
 Java_java_lang_reflect_Proxy_defineClassImpl (JNIEnv * env, jclass recvClass,
                                               jobject classLoader,
                                               jstring className,

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/timezone.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/timezone.c?view=diff&rev=486158&r1=486157&r2=486158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/timezone.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/timezone.c Tue
Dec 12 06:17:27 2006
@@ -20,7 +20,7 @@
 #include "vmi.h"
 #include "helpers.h"
 
-jstring JNICALL
+JNIEXPORT jstring JNICALL
 Java_java_util_TimeZone_getCustomTimeZone (JNIEnv * env, jclass clazz,
                                            jintArray tzinfo,
                                            jbooleanArray isCustomTimeZone)



Mime
View raw message