]> granicus.if.org Git - libvpx/commitdiff
Fix compiler warning in mips/dspr2
authorJingning Han <jingning@google.com>
Fri, 31 Jul 2015 19:33:35 +0000 (12:33 -0700)
committerJingning Han <jingning@google.com>
Fri, 31 Jul 2015 19:34:34 +0000 (12:34 -0700)
This commit fixes the mix declaration and definition warning when
mips/dspr2 is turned on.

Change-Id: I633d6fe42368b9ac35b106786ebac6969ad53552

build/make/rtcd.pl

index 7dff0280ebf12bacf80961dce1b9221567679e30..634d2bee2d34068d6bff6a89cac040467c74c22b 100755 (executable)
@@ -320,13 +320,18 @@ EOF
   print <<EOF;
 #if HAVE_DSPR2
 void vpx_dsputil_static_init();
-vpx_dsputil_static_init();
 #if CONFIG_VP8
 void dsputil_static_init();
-dsputil_static_init();
 #endif
 #if CONFIG_VP9
 void vp9_dsputil_static_init();
+#endif
+
+vpx_dsputil_static_init();
+#if CONFIG_VP8
+dsputil_static_init();
+#endif
+#if CONFIG_VP9
 vp9_dsputil_static_init();
 #endif
 #endif