test: fix kpb compilation with -Werror

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-04-05 19:43:28 +02:00 committed by Tomasz Lauda
parent cfc78646e6
commit 51ef2db3d2
2 changed files with 5 additions and 0 deletions

View File

@ -131,4 +131,8 @@ struct comp_data {
struct comp_buffer *rt_sink; /**< real time sink (channel selector ) */
};
#ifdef UNIT_TEST
void sys_comp_kpb_init(void);
#endif
#endif

View File

@ -5,6 +5,7 @@
#include <cmocka.h>
#include <sof/alloc.h>
#include <sof/notifier.h>
#include <sof/audio/component.h>
#include <mock_trace.h>