#include "xbt/misc.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+SG_BEGIN_DECL()
/** @brief Strip whitespace (or other characters) from the end of a string.
*
XBT_PUBLIC(char*)
trim(char* s, const char* char_list);
+SG_END_DECL()
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* !XBT_TRIM_H */
\ No newline at end of file
+#endif /* !XBT_TRIM_H */