diff options
author | Andres Morales <anmorales@google.com> | 2015-04-09 21:17:21 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-09 21:17:22 +0000 |
commit | f62e84ae4a38f1d61796eeba6529f0589022cf06 (patch) | |
tree | 506437908932d0d09438b718bec4561dc064c066 /include/hardware | |
parent | 72eb8b7c9c4ac237aeb277b543e971abea994eec (diff) | |
parent | 89dd74cb3e915b468612b5849fcbcea9a8e72b06 (diff) | |
download | hardware_libhardware-f62e84ae4a38f1d61796eeba6529f0589022cf06.zip hardware_libhardware-f62e84ae4a38f1d61796eeba6529f0589022cf06.tar.gz hardware_libhardware-f62e84ae4a38f1d61796eeba6529f0589022cf06.tar.bz2 |
Merge "fix extern C decl"
Diffstat (limited to 'include/hardware')
-rw-r--r-- | include/hardware/hw_auth_token.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ typedef struct __attribute__((__packed__)) { uint8_t hmac[32]; } hw_auth_token_t; -#ifndef __cplusplus +#ifdef __cplusplus } // extern "C" #endif // __cplusplus |