From: cherierm Date: Wed, 11 Apr 2007 15:16:53 +0000 (+0000) Subject: export trim functions X-Git-Tag: v3.3~1984 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6229a273b373db3727210a0b1dc8d08f2fb0f538?hp=fb84a4d4ce83d8b9a743278b22136e73f1d6dda5 export trim functions git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3376 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/trim.h b/include/xbt/trim.h index 243be327a5..39aa45bb6e 100644 --- a/include/xbt/trim.h +++ b/include/xbt/trim.h @@ -9,6 +9,8 @@ #ifndef XBT_TRIM_H #define XBT_TRIM_H +#include "xbt/misc.h" + #ifdef __cplusplus extern "C" { #endif @@ -32,7 +34,7 @@ extern "C" { * 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. * @@ -53,7 +55,7 @@ rtrim(char* s, const char* char_list); * 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. @@ -75,7 +77,7 @@ ltrim( char* s, const char* char_list); * 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); #ifdef __cplusplus