Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanups + newline at end of file
[simgrid.git] / include / xbt / trim.h
index 93971ff..e6f4ca5 100644 (file)
@@ -11,9 +11,7 @@
 
 #include "xbt/misc.h"
 
 
 #include "xbt/misc.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+SG_BEGIN_DECL()
 
 /**  @brief Strip whitespace (or other characters) from the end of a string.
  *
 
 /**  @brief Strip whitespace (or other characters) from the end of a string.
  *
@@ -79,11 +77,6 @@ ltrim( char* s, const char* char_list);
 XBT_PUBLIC(char*) 
 trim(char* s, const char* char_list);
 
 XBT_PUBLIC(char*) 
 trim(char* s, const char* char_list);
 
-
-#ifdef __cplusplus
-}
-#endif
+SG_END_DECL()
 
 #endif /* !XBT_TRIM_H */
 
 #endif /* !XBT_TRIM_H */
-
\ No newline at end of file