Fix a break on the "ChromiumOS (daisy)" bot.

http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28daisy%29/builds/3567/steps/BuildTarget/logs/stdio
third_party/webrtc/common_audio/signal_processing/spl_init.c:35:13: error: 'InitPointersToC' defined but not used [-Werror=unused-function]

TEST=try bots

BUG=

Review URL: https://webrtc-codereview.appspot.com/864011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2901 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
wu@webrtc.org 2012-10-10 20:59:35 +00:00
parent ccb52c2961
commit 7aa1189440

View File

@ -31,6 +31,7 @@ ScaleAndAddVectorsWithRound WebRtcSpl_ScaleAndAddVectorsWithRound;
RealForwardFFT WebRtcSpl_RealForwardFFT; RealForwardFFT WebRtcSpl_RealForwardFFT;
RealInverseFFT WebRtcSpl_RealInverseFFT; RealInverseFFT WebRtcSpl_RealInverseFFT;
#if defined(WEBRTC_DETECT_ARM_NEON) || !defined(WEBRTC_ARCH_ARM_NEON)
/* Initialize function pointers to the generic C version. */ /* Initialize function pointers to the generic C version. */
static void InitPointersToC() { static void InitPointersToC() {
WebRtcSpl_MaxAbsValueW16 = WebRtcSpl_MaxAbsValueW16C; WebRtcSpl_MaxAbsValueW16 = WebRtcSpl_MaxAbsValueW16C;
@ -46,6 +47,7 @@ static void InitPointersToC() {
WebRtcSpl_RealForwardFFT = WebRtcSpl_RealForwardFFTC; WebRtcSpl_RealForwardFFT = WebRtcSpl_RealForwardFFTC;
WebRtcSpl_RealInverseFFT = WebRtcSpl_RealInverseFFTC; WebRtcSpl_RealInverseFFT = WebRtcSpl_RealInverseFFTC;
} }
#endif
#if defined(WEBRTC_DETECT_ARM_NEON) || defined(WEBRTC_ARCH_ARM_NEON) #if defined(WEBRTC_DETECT_ARM_NEON) || defined(WEBRTC_ARCH_ARM_NEON)
/* Initialize function pointers to the Neon version. */ /* Initialize function pointers to the Neon version. */