]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
Fixes for C++ compatibility
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Jun 2010 14:16:25 +0000 (16:16 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Jun 2010 14:16:25 +0000 (16:16 +0200)
frsh_error.h

index b1ecb3930a128de487f00f61d270b3321f130009..47e4430e846f7ed0783ee57765086796a224a8c0 100644 (file)
 #ifndef        FRSH_ERROR_H_
 #define        FRSH_ERROR_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @file frsh_error.h
  **/
@@ -265,4 +269,9 @@ void my_frsh_strerror(int error, char *sss);
 
 /*}*/
 
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif             /* !FRSH_ERROR_H_ */