]> granicus.if.org Git - libjpeg-turbo/commitdiff
Make the wrapped functions static
authorDRC <dcommander@users.sourceforge.net>
Fri, 15 Aug 2014 16:40:34 +0000 (16:40 +0000)
committerDRC <dcommander@users.sourceforge.net>
Fri, 15 Aug 2014 16:40:34 +0000 (16:40 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1358 632fc199-4ca6-4c93-a231-07263d6284db

turbojpeg-jni.c

index 44db1bb8c0cd30242d2ea48abf1634a64f7ef4c0..77ca28dabea5172bc0eaec166d28db605849c939 100644 (file)
@@ -98,7 +98,7 @@ JNIEXPORT void JNICALL Java_org_libjpegturbo_turbojpeg_TJCompressor_init
        return;
 }
 
-JNIEXPORT jint JNICALL TJCompressor_compress
+static jint TJCompressor_compress
        (JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint x, jint y,
                jint width, jint pitch, jint height, jint pf, jbyteArray dst,
                jint jpegSubsamp, jint jpegQual, jint flags)
@@ -194,7 +194,7 @@ JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3
        return 0;
 }
 
-JNIEXPORT void JNICALL TJCompressor_encodeYUV
+static void TJCompressor_encodeYUV
        (JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint width,
                jint pitch, jint height, jint pf, jbyteArray dst, jint subsamp, jint flags)
 {
@@ -351,7 +351,7 @@ JNIEXPORT void JNICALL Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress
        return;
 }
 
-JNIEXPORT void JNICALL TJDecompressor_decompress
+static void TJDecompressor_decompress
        (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jarray dst,
                jint dstElementSize, jint x, jint y, jint width, jint pitch, jint height,
                jint pf, jint flags)