Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cb1753e authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Remove useless forward declarations.

Change-Id: I8f191367acb18ea9a3f807e791099e0485b1b249
parent 83b61471
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -655,7 +655,6 @@ static JNINativeMethod gBitmapMethods[] = {

#define kClassPathName  "android/graphics/Bitmap"

int register_android_graphics_Bitmap(JNIEnv* env);
int register_android_graphics_Bitmap(JNIEnv* env)
{
    return android::AndroidRuntime::registerNativeMethods(env, kClassPathName,
+0 −2
Original line number Diff line number Diff line
@@ -98,7 +98,6 @@ static JNINativeMethod gCameraMethods[] = {
    { "dotWithNormal",       "(FFF)F", (void*)Camera_dotWithNormal }
};

int register_android_graphics_Camera(JNIEnv* env);
int register_android_graphics_Camera(JNIEnv* env) {
    jclass clazz = env->FindClass("android/graphics/Camera");
    if (clazz == 0) {
@@ -113,4 +112,3 @@ int register_android_graphics_Camera(JNIEnv* env) {
                                               gCameraMethods,
                                               SK_ARRAY_COUNT(gCameraMethods));
}
+2 −3
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@ static JNINativeMethod gInterpolatorMethods[] = {
    { "nativeTimeToValues",     "(II[F)I",      (void*)Interpolator_timeToValues    }
};

int register_android_graphics_Interpolator(JNIEnv* env);
int register_android_graphics_Interpolator(JNIEnv* env)
{
    return android::AndroidRuntime::registerNativeMethods(env,
+1 −3
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ static JNINativeMethod gLayerRasterizerMethods[] = {
    { "nativeAddLayer",     "(IIFF)V",  (void*)SkLayerRasterizerGlue::addLayer  }
};

int register_android_graphics_LayerRasterizer(JNIEnv* env);
int register_android_graphics_LayerRasterizer(JNIEnv* env)
{
    return android::AndroidRuntime::registerNativeMethods(env,
@@ -31,4 +30,3 @@ int register_android_graphics_LayerRasterizer(JNIEnv* env)
                                                       gLayerRasterizerMethods,
                                                       SK_ARRAY_COUNT(gLayerRasterizerMethods));
}
+3 −5
Original line number Diff line number Diff line
@@ -79,7 +79,6 @@ static JNINativeMethod gTableMaskFilterMethods[] = {
    result = android::AndroidRuntime::registerNativeMethods(env, name, array, SK_ARRAY_COUNT(array));  \
    if (result < 0) return result

int register_android_graphics_MaskFilter(JNIEnv* env);
int register_android_graphics_MaskFilter(JNIEnv* env)
{
    int result;
@@ -91,4 +90,3 @@ int register_android_graphics_MaskFilter(JNIEnv* env)

    return 0;
}
Loading