From 23d9368d169b2ce355b68711b0de3e77f742bedb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Mickevi=C4=8Dius?= Date: Sun, 8 Mar 2015 16:10:09 +0200 Subject: Gradle build --- jni/Android.mk | 2 +- jni/iodine-client.c | 1 - jni/iodine/src/base64.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'jni') diff --git a/jni/Android.mk b/jni/Android.mk index 06cf936..2117fb6 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -26,7 +26,7 @@ $(LOCAL_PATH)/iodine/src/base64u.h: $(LOCAL_PATH)/iodine/src/base64.h @echo '/* No use in editing, produced by Makefile! */' > $@ @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < $< >> $@ -LOCAL_MODULE := iodine-client +LOCAL_MODULE := iodine-client LOCAL_LDLIBS := -lz -llog LOCAL_CFLAGS := -Wall LOCAL_SRC_FILES := iodine-client.c \ diff --git a/jni/iodine-client.c b/jni/iodine-client.c index 905b154..11ef7cf 100644 --- a/jni/iodine-client.c +++ b/jni/iodine-client.c @@ -212,4 +212,3 @@ JNIEXPORT jstring JNICALL Java_org_xapek_andiodine_IodineClient_getPropertyNetDn __system_property_get("net.dns1", value); return (*env)->NewStringUTF(env, value); } - diff --git a/jni/iodine/src/base64.c b/jni/iodine/src/base64.c index 00a84fc..71bbcf1 100644 --- a/jni/iodine/src/base64.c +++ b/jni/iodine/src/base64.c @@ -90,7 +90,7 @@ base64_reverse_init() } } -static int +static int base64_encode(char *buf, size_t *buflen, const void *data, size_t size) /* * Fills *buf with max. *buflen characters, encoding size bytes of *data. -- cgit v1.2.1