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
cleanups + newline at end of file
[simgrid.git]
/
include
/
xbt
/
trim.h
diff --git
a/include/xbt/trim.h
b/include/xbt/trim.h
index
93971ff
..
e6f4ca5
100644
(file)
--- a/
include/xbt/trim.h
+++ b/
include/xbt/trim.h
@@
-11,9
+11,7
@@
#include "xbt/misc.h"
#include "xbt/misc.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+SG_BEGIN_DECL()
/** @brief Strip whitespace (or other characters) from the end of a string.
*
/** @brief Strip whitespace (or other characters) from the end of a string.
*
@@
-79,11
+77,6
@@
ltrim( char* s, const char* char_list);
XBT_PUBLIC(char*)
trim(char* s, const char* char_list);
XBT_PUBLIC(char*)
trim(char* s, const char* char_list);
-
-#ifdef __cplusplus
-}
-#endif
+SG_END_DECL()
#endif /* !XBT_TRIM_H */
#endif /* !XBT_TRIM_H */
-
-
\ No newline at end of file