summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--exynos4/hal/include/SecBuffer.h4
1 files changed, 4 insertions, 0 deletions
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__