From: Daniel Hillenbrand Date: Sat, 15 Jun 2013 09:14:35 +0000 (+0200) Subject: exynos4: SecBuffer: add missing c++ ifdefs X-Git-Tag: cm-10.1.0.1~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41e1d1a242bf7e18ee1be590a873237bd3e77977;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git exynos4: SecBuffer: add missing c++ ifdefs Change-Id: I6c07d14675e5c6f835401d2660f208db8e757a71 --- diff --git a/exynos4/hal/include/SecBuffer.h b/exynos4/hal/include/SecBuffer.h index b8a41df..74cceb7 100644 --- a/exynos4/hal/include/SecBuffer.h +++ b/exynos4/hal/include/SecBuffer.h @@ -47,7 +47,9 @@ //! Buffer information struct SecBuffer { +#ifdef __cplusplus public: +#endif //! Buffer type enum BUFFER_TYPE { @@ -82,6 +84,7 @@ public: unsigned int extS[3]; } size; +#ifdef __cplusplus //! Constructor SecBuffer() { @@ -153,6 +156,7 @@ public: return type; } +#endif }; #endif //__SEC_BUFFER_H__