From f84cfe8277f2b62f9caff0052fea73eb468e26a5 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 21 Jan 2013 22:45:54 +0100 Subject: [PATCH] Fix build error with clang. error: redefinition of typedef s_xbt_dictelm_t is invalid in C [-Wtypedef-redefinition]. --- include/xbt/dict.h | 1 - 1 file changed, 1 deletion(-) 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; -- 2.20.1