Make HW_AUTH_TOKEN_VERSION static
Having this object non-static in header file is ok in
"c-plus-plus" since constant values default to internal
linkage, which allows them to appear in header files.
This is not i case in "c" and we need to declare it also
as static to limit the contex.
Making it static works for both.
Bug: 32467815
Test: lunch 1; make
Change-Id: I4ed4ffe41add3b10d990db0fb156a85a146d0ba2
Signed-off-by: Aleksej Makarov <aleksej.makarov@sonymobile.com>
diff --git a/include/hardware/hw_auth_token.h b/include/hardware/hw_auth_token.h
index f471d1a..d84ea48 100644
--- a/include/hardware/hw_auth_token.h
+++ b/include/hardware/hw_auth_token.h
@@ -23,7 +23,7 @@
extern "C" {
#endif // __cplusplus
-const uint8_t HW_AUTH_TOKEN_VERSION = 0;
+static const uint8_t HW_AUTH_TOKEN_VERSION = 0;
typedef enum {
HW_AUTH_NONE = 0,