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 @@
unsigned int extS[3];
} size;
+#ifdef __cplusplus
//! Constructor
SecBuffer()
{
@@ -153,6 +156,7 @@
return type;
}
+#endif
};
#endif //__SEC_BUFFER_H__