add C++ guards

This commit is contained in:
Nils O. Selåsdal
2013-06-19 18:48:45 +02:00
parent 6268e6ac8e
commit b4f9ecafe2
7 changed files with 55 additions and 2 deletions
+8
View File
@@ -30,6 +30,9 @@
* </pre>
* @endhtmlonly
*/
#ifdef __cplusplus
extern "C" {
#endif
/* Major version of the ucore library*/
extern const int ucore_version_major;
@@ -46,5 +49,10 @@ extern const char ucore_version_str[];
/** Hostname where the library was built
*/
extern const char ucore_build_host[];
#ifdef __cplusplus
}
#endif
#endif