]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/netapi.git/blobdiff - ti/runtime/netapi/netapi_types.h
Fix for SDOCM00107501:Compilation issues observed when compiling with C++
[keystone-rtos/netapi.git] / ti / runtime / netapi / netapi_types.h
index a1db13348c7b225b709e50c3e010704b1c3c3399..ca5c075f422725eb193a69afda76fcfe36cb23dc 100755 (executable)
@@ -44,6 +44,9 @@
 #ifndef __NETAPI_ERR__
 #define __NETAPI_ERR__
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /**
  * @ingroup cfg_constants
@@ -148,5 +151,9 @@ typedef int16_t netapi_RetValue;
  */
 #define NETAPI_ERR_NWAL_TX_ERR -65536
 
+#ifdef __cplusplus
+}
+#endif
+
 
 #endif