Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rectify a mistake
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 11 Apr 2007 15:27:24 +0000 (15:27 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 11 Apr 2007 15:27:24 +0000 (15:27 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3377 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/trim.h

index 39aa45b..43f3eba 100644 (file)
@@ -33,8 +33,8 @@ extern "C" {
  * @return If the specified is NULL the function returns NULL. Otherwise the
  * function returns the string with whitespace stripped from the end.
  */
  * @return If the specified is NULL the function returns NULL. Otherwise the
  * function returns the string with whitespace stripped from the end.
  */
-char*
-XBT_PUBLIC(rtrim)(char* s, const char* char_list);
+XBT_PUBLIC(char*)
+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.
  *
@@ -54,8 +54,8 @@ XBT_PUBLIC(rtrim)(char* s, const char* char_list);
  * @return If the specified is NULL the function returns NULL. Otherwise the
  * function returns the string with whitespace stripped from the beginning.
  */
  * @return If the specified is NULL the function returns NULL. Otherwise the
  * function returns the string with whitespace stripped from the beginning.
  */
-char*
-XBT_PUBLIC(ltrim)( char* s, const char* char_list);
+XBT_PUBLIC(char*)
+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.
@@ -76,8 +76,8 @@ XBT_PUBLIC(ltrim)( char* s, const char* char_list);
  * @return If the specified is NULL the function returns NULL. Otherwise the
  * function returns the string with whitespace stripped from the end and the begining.
  */
  * @return If the specified is NULL the function returns NULL. Otherwise the
  * function returns the string with whitespace stripped from the end and the begining.
  */
-char* 
-XBT_PUBLIC(trim)(char* s, const char* char_list);
+XBT_PUBLIC(char*) 
+trim(char* s, const char* char_list);
 
 
 #ifdef __cplusplus
 
 
 #ifdef __cplusplus