From c8563afcccc9caa2b2db1c99308e3c531bf9c506 Mon Sep 17 00:00:00 2001 From: mquinson Date: Mon, 16 Apr 2007 12:01:27 +0000 Subject: [PATCH] cleanups + newline at end of file git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3420 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/trim.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/include/xbt/trim.h b/include/xbt/trim.h index 93971ff633..e6f4ca595f 100644 --- a/include/xbt/trim.h +++ b/include/xbt/trim.h @@ -11,9 +11,7 @@ #include "xbt/misc.h" -#ifdef __cplusplus -extern "C" { -#endif +SG_BEGIN_DECL() /** @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); - -#ifdef __cplusplus -} -#endif +SG_END_DECL() #endif /* !XBT_TRIM_H */ - - \ No newline at end of file -- 2.20.1