X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e407d291fe64a484f52a27b88f04156beae00c0..c8563afcccc9caa2b2db1c99308e3c531bf9c506:/include/xbt/trim.h?ds=sidebyside diff --git a/include/xbt/trim.h b/include/xbt/trim.h index 93971ff633..e6f4ca595f 100644 --- a/include/xbt/trim.h +++ b/include/xbt/trim.h @@ -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