mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-22 14:41:47 +00:00
t/openxr: Remove reference to/implementation of xrt_prober_create
This commit is contained in:
parent
6c77b8d314
commit
3b1f003705
|
@ -10,8 +10,9 @@
|
||||||
|
|
||||||
#ifdef XRT_FEATURE_SERVICE
|
#ifdef XRT_FEATURE_SERVICE
|
||||||
|
|
||||||
struct xrt_instance;
|
#include "xrt/xrt_instance.h"
|
||||||
|
|
||||||
|
// Forward declaration
|
||||||
int
|
int
|
||||||
ipc_instance_create(struct xrt_instance **out_xinst);
|
ipc_instance_create(struct xrt_instance **out_xinst);
|
||||||
|
|
||||||
|
@ -23,12 +24,12 @@ xrt_instance_create(struct xrt_instance **out_xinst)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include "target_lists.h"
|
/*
|
||||||
|
* For non-service runtime, xrt_instance_create defined in target_instance
|
||||||
int
|
* helper lib, so we just have a dummy symbol below to silence warnings about
|
||||||
xrt_prober_create(struct xrt_prober **out_xp)
|
* empty translation units.
|
||||||
{
|
*/
|
||||||
return xrt_prober_create_with_lists(out_xp, &target_lists);
|
#include <xrt/xrt_compiler.h>
|
||||||
}
|
XRT_MAYBE_UNUSED static const int DUMMY = 42;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue