t/openxr: Remove reference to/implementation of xrt_prober_create

This commit is contained in:
Ryan Pavlik 2020-05-26 16:46:43 -05:00
parent 6c77b8d314
commit 3b1f003705

View file

@ -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