exynos4: SecBuffer: add missing c++ ifdefs
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>
Sat, 15 Jun 2013 09:14:35 +0000 (11:14 +0200)
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>
Sat, 15 Jun 2013 09:14:35 +0000 (11:14 +0200)
Change-Id: I6c07d14675e5c6f835401d2660f208db8e757a71

exynos4/hal/include/SecBuffer.h

index b8a41df358591de06a81024c4d7835ef6b1721ab..74cceb7792c5bfff9c48e859e81ea310cdce6e92 100644 (file)
@@ -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__