Add extern "C" to all the adb headers.
Change-Id: Iaefa3e18d6ee2e065eb97271a796613b2a8e7d6e
diff --git a/adb/adb_auth.h b/adb/adb_auth.h
index 54dd537..b718b42 100644
--- a/adb/adb_auth.h
+++ b/adb/adb_auth.h
@@ -17,6 +17,10 @@
#ifndef __ADB_AUTH_H
#define __ADB_AUTH_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void adb_auth_init(void);
int adb_auth_keygen(const char* filename);
void adb_auth_verified(atransport *t);
@@ -52,4 +56,8 @@
#endif // ADB_HOST
+#ifdef __cplusplus
+}
+#endif
+
#endif // __ADB_AUTH_H