Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanups + newline at end of file
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 16 Apr 2007 12:01:27 +0000 (12:01 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 16 Apr 2007 12:01:27 +0000 (12:01 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3420 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/trim.h

index 93971ff..e6f4ca5 100644 (file)
@@ -11,9 +11,7 @@
 
 #include "xbt/misc.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+SG_BEGIN_DECL()
 
 /**  @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);
 
-
-#ifdef __cplusplus
-}
-#endif
+SG_END_DECL()
 
 #endif /* !XBT_TRIM_H */
-
\ No newline at end of file