Use extern for *_rtcd() in test/test_libvpx.cc
authorJohann <johannkoenig@google.com>
Thu, 16 Apr 2015 18:51:22 +0000 (14:51 -0400)
committerJohann <johannkoenig@google.com>
Thu, 16 Apr 2015 19:04:59 +0000 (15:04 -0400)
This partially reverts commit 14ef4aeafb

Including the rtcd headers to get the function definitions causes
problems on VS9.

Change-Id: I780874d9e03af2d3124192ab0e3907301f22674c

test/test_libvpx.cc

index dcf5fc5..30a5255 100644 (file)
 #endif
 extern "C" {
 #if CONFIG_VP8
-#include "./vp8_rtcd.h"
+extern void vp8_rtcd();
 #endif  // CONFIG_VP8
 #if CONFIG_VP9
-#include "./vp9_rtcd.h"
+extern void vp9_rtcd();
 #endif  // CONFIG_VP9
-#include "./vpx_scale_rtcd.h"
+extern void vpx_scale_rtcd();
 }
 #include "third_party/googletest/src/include/gtest/gtest.h"