From: mquinson Date: Thu, 9 Dec 2004 14:55:28 +0000 (+0000) Subject: use BEGIN_DECL (ie, useless cleanup); picky documentation improvement X-Git-Tag: v3.3~4775 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1cd92ef12faceee652c539c4c168ab5fd7f7da49 use BEGIN_DECL (ie, useless cleanup); picky documentation improvement git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@575 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/dict.h b/include/xbt/dict.h index 5ece5d5420..2728e7d99b 100644 --- a/include/xbt/dict.h +++ b/include/xbt/dict.h @@ -12,11 +12,9 @@ #define _XBT_DICT_H #include "xbt/misc.h" /* BEGIN_DECL */ -#include "xbt/error.h" /* BEGIN_DECL */ +#include "xbt/error.h" -#ifdef __cplusplus -extern "C" -#endif +BEGIN_DECL /*####[ Type definition ]####################################################*/ typedef struct xbt_dict_ *xbt_dict_t; @@ -143,8 +141,6 @@ int xbt_dict_cursor_get_or_free (xbt_dict_cursor_t *cursor, xbt_dict_cursor_get_or_free(&(cursor),&(key),(void**)(&data));\ xbt_dict_cursor_step(cursor) ) -#ifdef __cplusplus -} -#endif +END_DECL #endif /* _XBT_DICT_H */