Restore code that was removed too aggressively
Change-Id: Ia1659f71e9e531c073c753a61b6ef53028749422
diff --git a/bluez-clean-headers/bluetooth/bluetooth.h b/bluez-clean-headers/bluetooth/bluetooth.h
index 9caae2f..b1a7cd9 100644
--- a/bluez-clean-headers/bluetooth/bluetooth.h
+++ b/bluez-clean-headers/bluetooth/bluetooth.h
@@ -112,6 +112,9 @@
#define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#ifdef __cplusplus
+static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src)
+{
+ memcpy(dst, src, sizeof(bdaddr_t));
+}
#endif
#endif
-