A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
export trim functions
[simgrid.git]
/
include
/
xbt
/
trim.h
diff --git
a/include/xbt/trim.h
b/include/xbt/trim.h
index
243be32
..
39aa45b
100644
(file)
--- a/
include/xbt/trim.h
+++ b/
include/xbt/trim.h
@@
-9,6
+9,8
@@
#ifndef XBT_TRIM_H
#define XBT_TRIM_H
#ifndef XBT_TRIM_H
#define XBT_TRIM_H
+#include "xbt/misc.h"
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@
-32,7
+34,7
@@
extern "C" {
* 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.
*
@@
-53,7
+55,7
@@
rtrim(char* s, const char* char_list);
* 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.
@@
-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*
* 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
#ifdef __cplusplus