Bug 765116 - Part 1: mozglue/android: fix gcc -Wall warnings. r=glandium

This commit is contained in:
Chris Peterson 2012-06-18 09:07:07 -07:00
Родитель 99acef76b3
Коммит d6ba4d000b
3 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -327,9 +327,9 @@ static void * sqlite_handle = NULL;
static void * nss_handle = NULL;
static void * nspr_handle = NULL;
static void * plc_handle = NULL;
static bool simple_linker_initialized = false;
#ifdef MOZ_OLD_LINKER
static bool simple_linker_initialized = false;
static time_t apk_mtime = 0;
#ifdef DEBUG
extern "C" int extractLibs = 1;

Просмотреть файл

@ -69,6 +69,9 @@ static jmethodID jByteBufferAllocateDirect;
static jmethodID jCursorConstructor;
static jmethodID jCursorAddRow;
static jobject sqliteInternalCall(JNIEnv* jenv, sqlite3 *db, jstring jQuery,
jobjectArray jParams, jlongArray jQueryRes);
static void
JNI_Setup(JNIEnv* jenv)
{

Просмотреть файл

@ -8,7 +8,6 @@
#include "sqlite3.h"
void setup_sqlite_functions(void *sqlite_handle);
static jobject sqliteInternalCall(JNIEnv* jenv, sqlite3 *db, jstring jQuery, jobjectArray jParams, jlongArray jQueryRes);
#define SQLITE_WRAPPER(name, return_type, args...) \
typedef return_type (*name ## _t)(args); \