tbm_drm_helper: add extern C 07/212007/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 13 Aug 2019 06:46:59 +0000 (15:46 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Tue, 13 Aug 2019 06:46:59 +0000 (15:46 +0900)
Change-Id: I4b7b104eaa5ae5c9ce0eb7ad2dfd1cdfbfb8fefa

include/tbm_drm_helper.h

index 97b240c..9204b43 100644 (file)
@@ -32,6 +32,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #ifndef _TBM_DRM_HELPER_H_
 #define _TBM_DRM_HELPER_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @brief Initialize authentication server in display server.
  * @details
@@ -134,4 +138,7 @@ void tbm_drm_helper_unset_fd(void);
  */
 int tbm_drm_helper_get_fd(void);
 
+#ifdef __cplusplus
+}
+#endif
 #endif                                                 /* _TBM_DRM_HELPER_H_ */