fix extern C decl
extern C should be declared for C++ files, not C files
Change-Id: I3e30af2e45774b50259b9575cf699d7c0b455cad
diff --git a/include/hardware/hw_auth_token.h b/include/hardware/hw_auth_token.h
index e0a2e18..dcb4089 100644
--- a/include/hardware/hw_auth_token.h
+++ b/include/hardware/hw_auth_token.h
@@ -19,7 +19,7 @@
#ifndef ANDROID_HARDWARE_HW_AUTH_TOKEN_H
#define ANDROID_HARDWARE_HW_AUTH_TOKEN_H
-#ifndef __cplusplus
+#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
@@ -46,7 +46,7 @@
uint8_t hmac[32];
} hw_auth_token_t;
-#ifndef __cplusplus
+#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus