Added extern C tag for newly added error handling API 99/35999/1 accepted/tizen/common/20150306.090247 accepted/tizen/mobile/20150310.065804 accepted/tizen/tv/20150306.095346 accepted/tizen/wearable/20150306.100325 submit/tizen/20150305.103437 submit/tizen_mobile/20150309.092646
authorSunggyu Choi <sunggyu.choi@samsung.com>
Fri, 27 Feb 2015 09:26:31 +0000 (18:26 +0900)
committerSunggyu Choi <sunggyu.choi@samsung.com>
Fri, 27 Feb 2015 09:26:31 +0000 (18:26 +0900)
Change-Id: Ia58119fd55bb71d6606e23d6f444b0848d48d1b6
Signed-off-by: Sunggyu Choi <sunggyu.choi@samsung.com>
include/tizen_error.h

index 8eabf38..dd98dd9 100755 (executable)
 
 #include <errno.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @addtogroup CAPI_COMMON_ERROR
  * @{
@@ -364,5 +368,9 @@ char* get_error_message(int err);
 /**
  * @}
  */
+#ifdef __cplusplus
+}
+#endif
+
 
 #endif         /**<__TIZEN_COMMON_ERROR_H__ */