diff --git a/test/codec_factory.h b/test/codec_factory.h index 2ca6ff086d1f7dd72a9a6bf82e35512dd7f0f156..c060e86dc9908e531cf2e4f5f228bbbb2d043a36 100644 --- a/test/codec_factory.h +++ b/test/codec_factory.h @@ -10,7 +10,6 @@ #ifndef TEST_CODEC_FACTORY_H_ #define TEST_CODEC_FACTORY_H_ -extern "C" { #include "./vpx_config.h" #include "vpx/vpx_decoder.h" #include "vpx/vpx_encoder.h" @@ -20,7 +19,6 @@ extern "C" { #if CONFIG_VP8_DECODER || CONFIG_VP9_DECODER #include "vpx/vp8dx.h" #endif -} #include "test/decode_test_driver.h" #include "test/encode_test_driver.h" diff --git a/test/idct8x8_test.cc b/test/idct8x8_test.cc index d8c61ffb2c554df860872e4ddd5c01a7dde8cb63..5f4c33a818d9a715d6a57837588bf2e1c962fd96 100644 --- a/test/idct8x8_test.cc +++ b/test/idct8x8_test.cc @@ -14,9 +14,7 @@ #include "third_party/googletest/src/include/gtest/gtest.h" -extern "C" { #include "./vp9_rtcd.h" -} #include "test/acm_random.h" #include "vpx/vpx_integer.h" diff --git a/test/idct_test.cc b/test/idct_test.cc index 2c7fa0ef80fc8246b872eee3b1bb8cde8bd4f1cb..1bbf80a0aec95608d55de2c683e483bd7497bfa2 100644 --- a/test/idct_test.cc +++ b/test/idct_test.cc @@ -8,10 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -extern "C" { #include "./vpx_config.h" #include "./vp8_rtcd.h" -} #include "test/clear_system_state.h" #include "test/register_state_check.h" #include "third_party/googletest/src/include/gtest/gtest.h" diff --git a/test/pp_filter_test.cc b/test/pp_filter_test.cc index e5ac9db2b7cf7016aa706b825fb34a095de4f8d3..ff7bb08e308656313f9ad2b1990ac47e28f4d7b7 100644 --- a/test/pp_filter_test.cc +++ b/test/pp_filter_test.cc @@ -10,12 +10,10 @@ #include "test/clear_system_state.h" #include "test/register_state_check.h" #include "third_party/googletest/src/include/gtest/gtest.h" -extern "C" { #include "./vpx_config.h" #include "./vp8_rtcd.h" #include "vpx/vpx_integer.h" #include "vpx_mem/vpx_mem.h" -} typedef void (*post_proc_func_t)(unsigned char *src_ptr, unsigned char *dst_ptr, diff --git a/test/sad_test.cc b/test/sad_test.cc index 453b3a84e0db5218a513b3b8080d17ef3ce8f781..4a91b0b605eaaa61a26dab946c3a71b92c666b05 100644 --- a/test/sad_test.cc +++ b/test/sad_test.cc @@ -13,7 +13,6 @@ #include <limits.h> #include <stdio.h> -extern "C" { #include "./vpx_config.h" #if CONFIG_VP8_ENCODER #include "./vp8_rtcd.h" @@ -22,7 +21,6 @@ extern "C" { #include "./vp9_rtcd.h" #endif #include "vpx_mem/vpx_mem.h" -} #include "test/acm_random.h" #include "test/clear_system_state.h" diff --git a/test/sixtap_predict_test.cc b/test/sixtap_predict_test.cc index 0f5c0a5e80f22be38d45bfc74de275e2621bf814..3434662fb84d71f2cbdcc08a315150920b20add8 100644 --- a/test/sixtap_predict_test.cc +++ b/test/sixtap_predict_test.cc @@ -16,12 +16,10 @@ #include "test/register_state_check.h" #include "test/util.h" #include "third_party/googletest/src/include/gtest/gtest.h" -extern "C" { #include "./vpx_config.h" #include "./vp8_rtcd.h" #include "vpx/vpx_integer.h" #include "vpx_mem/vpx_mem.h" -} namespace { diff --git a/test/test_vector_test.cc b/test/test_vector_test.cc index 6d93bb88f003f452e9a82e62b57a0f3cf9ba4075..4adf9af91024487e1c386ace46e5daf917f7a3b9 100644 --- a/test/test_vector_test.cc +++ b/test/test_vector_test.cc @@ -19,9 +19,7 @@ #include "test/test_vectors.h" #include "test/util.h" #include "test/webm_video_source.h" -extern "C" { #include "vpx_mem/vpx_mem.h" -} namespace { diff --git a/test/tile_independence_test.cc b/test/tile_independence_test.cc index 863a3669a9fb2bd30bbe5f0a04d99519706a226f..d7144522b3cce74f4af530cd40b089c9f0c56858 100644 --- a/test/tile_independence_test.cc +++ b/test/tile_independence_test.cc @@ -17,9 +17,7 @@ #include "test/i420_video_source.h" #include "test/util.h" #include "test/md5_helper.h" -extern "C" { #include "vpx_mem/vpx_mem.h" -} namespace { class TileIndependenceTest : public ::libvpx_test::EncoderTest, diff --git a/test/vp8_fdct4x4_test.cc b/test/vp8_fdct4x4_test.cc index 25465c53c2f998f2d8d7442d25f698372b84e5a5..e3c292ea1a1f08a1cb5d19f487e7e16b85a541ef 100644 --- a/test/vp8_fdct4x4_test.cc +++ b/test/vp8_fdct4x4_test.cc @@ -15,9 +15,7 @@ #include <string.h> #include <sys/types.h> -extern "C" { #include "./vp8_rtcd.h" -} #include "test/acm_random.h" #include "third_party/googletest/src/include/gtest/gtest.h"