mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-04-19 23:10:49 +02:00
tests: fix redefined warnings when building spa-props test
This commit is contained in:
parent
cfbcb5eca3
commit
e08af1baa3
2 changed files with 9 additions and 7 deletions
|
|
@ -51,7 +51,11 @@ test(
|
|||
|
||||
test(
|
||||
'test-spa-props',
|
||||
executable('test-spa-props', 'spa-props.c',
|
||||
executable('test-spa-props',
|
||||
[
|
||||
'spa-props.c',
|
||||
'../../lib/wp/spa-props.c'
|
||||
],
|
||||
dependencies: common_deps, c_args: common_args),
|
||||
env: common_env,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,13 +6,11 @@
|
|||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/* private functions, they should be hidden in the shared library */
|
||||
#include "wp/spa-props.c"
|
||||
#include "wp/spa-type.c"
|
||||
#include "wp/iterator.c"
|
||||
#include "wp/spa-pod.c"
|
||||
|
||||
#include <spa/pod/iter.h>
|
||||
#include <spa/pod/vararg.h>
|
||||
#include <spa/param/props.h>
|
||||
|
||||
#include "../../lib/wp/private.h"
|
||||
|
||||
#include <wp/wp.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue