diff options
author | Dan Albert <danalbert@google.com> | 2015-02-18 00:18:25 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-02-18 00:21:16 -0800 |
commit | 818fb4b448a44ef9f1db85f66415fde4b7a96aa6 (patch) | |
tree | 869fdc404f5ebbdcabdef42f23cefd8173779178 /adb/adb_auth.h | |
parent | f96c15000f849d4c3fef08f0145c61a4862c3833 (diff) | |
download | system_core-818fb4b448a44ef9f1db85f66415fde4b7a96aa6.zip system_core-818fb4b448a44ef9f1db85f66415fde4b7a96aa6.tar.gz system_core-818fb4b448a44ef9f1db85f66415fde4b7a96aa6.tar.bz2 |
Add extern "C" to all the adb headers.
Change-Id: Iaefa3e18d6ee2e065eb97271a796613b2a8e7d6e
Diffstat (limited to 'adb/adb_auth.h')
-rw-r--r-- | adb/adb_auth.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t); #endif // ADB_HOST +#ifdef __cplusplus +} +#endif + #endif // __ADB_AUTH_H |