a/os: Add extern "C" to hid header

This commit is contained in:
Ryan Pavlik 2019-06-18 13:22:30 -05:00
parent d969297c50
commit 0f2635a6eb

View file

@ -13,6 +13,10 @@
#include "xrt/xrt_config.h"
#include "xrt/xrt_compiler.h"
#ifdef __cplusplus
extern "C" {
#endif
/*!
* Representing a single hid interface on a device.
@ -69,3 +73,7 @@ os_hid_destroy(struct os_hid_device *hid_dev)
int
os_hid_open_hidraw(const char *path, struct os_hid_device **out_hid);
#endif
#ifdef __cplusplus
} // extern "C"
#endif