From: Arnaud Giersch Date: Mon, 21 Jan 2013 21:45:54 +0000 (+0100) Subject: Fix build error with clang. X-Git-Tag: v3_9_rc1~69 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f84cfe8277f2b62f9caff0052fea73eb468e26a5?hp=18d0167716b0d86b07ef2e3feaacc8b3c9238326 Fix build error with clang. error: redefinition of typedef s_xbt_dictelm_t is invalid in C [-Wtypedef-redefinition]. --- diff --git a/include/xbt/dict.h b/include/xbt/dict.h index cf00544e1b..2a9bcba9b4 100644 --- a/include/xbt/dict.h +++ b/include/xbt/dict.h @@ -48,7 +48,6 @@ SG_BEGIN_DECL() typedef struct s_xbt_dict *xbt_dict_t; typedef struct s_xbt_dictelm *xbt_dictelm_t; -typedef struct s_xbt_dictelm s_xbt_dictelm_t; typedef struct s_xbt_dictelm { char *key; int key_len;