summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-06-15 11:14:35 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-06-15 11:14:35 +0200
commit41e1d1a242bf7e18ee1be590a873237bd3e77977 (patch)
treecc990a9a059b9d4bc98f3724150cb90132866924
parent09e7e82747e56dc27f9fad872fd3be06293c4eca (diff)
downloadhardware_samsung-41e1d1a242bf7e18ee1be590a873237bd3e77977.zip
hardware_samsung-41e1d1a242bf7e18ee1be590a873237bd3e77977.tar.gz
hardware_samsung-41e1d1a242bf7e18ee1be590a873237bd3e77977.tar.bz2
exynos4: SecBuffer: add missing c++ ifdefs
Change-Id: I6c07d14675e5c6f835401d2660f208db8e757a71
-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__