git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3376
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
#ifndef XBT_TRIM_H
#define XBT_TRIM_H
#ifndef XBT_TRIM_H
#define XBT_TRIM_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
* function returns the string with whitespace stripped from the end.
*/
char*
* function returns the string with whitespace stripped from the end.
*/
char*
-rtrim(char* s, const char* char_list);
+XBT_PUBLIC(rtrim)(char* s, const char* char_list);
/** @brief Strip whitespace (or other characters) from the beginning of a string.
*
/** @brief Strip whitespace (or other characters) from the beginning of a string.
*
* function returns the string with whitespace stripped from the beginning.
*/
char*
* function returns the string with whitespace stripped from the beginning.
*/
char*
-ltrim( char* s, const char* char_list);
+XBT_PUBLIC(ltrim)( char* s, const char* char_list);
/** @brief Strip whitespace (or other characters) from the end and the begining of a string.
/** @brief Strip whitespace (or other characters) from the end and the begining of a string.
* function returns the string with whitespace stripped from the end and the begining.
*/
char*
* function returns the string with whitespace stripped from the end and the begining.
*/
char*
-trim(char* s, const char* char_list);
+XBT_PUBLIC(trim)(char* s, const char* char_list);