Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix build error with clang.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 21 Jan 2013 21:45:54 +0000 (22:45 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 21 Jan 2013 21:46:00 +0000 (22:46 +0100)
error: redefinition of typedef s_xbt_dictelm_t is invalid in C [-Wtypedef-redefinition].

include/xbt/dict.h

index cf00544..2a9bcba 100644 (file)
@@ -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;