From 9d24d7cda0ebc49024da684e979805c7e7a8cc09 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 18 Sep 2013 17:18:57 +0200 Subject: [PATCH] Empty structs are not allowed in C. Use an incomplete declaration instead. --- include/msg/datatypes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/msg/datatypes.h b/include/msg/datatypes.h index 241d649ecf..8ecd1ca099 100644 --- a/include/msg/datatypes.h +++ b/include/msg/datatypes.h @@ -132,9 +132,9 @@ extern int MSG_STORAGE_LEVEL; typedef xbt_dictelm_t msg_storage_t; typedef s_xbt_dictelm_t s_msg_storage_t; -typedef struct msg_storage_priv { -/* TODO PV: fill it (or not) ! */ -} s_msg_storage_priv_t, *msg_storage_priv_t; +typedef struct msg_storage_priv /* { + TODO PV: fill it (or not) ! +} */ s_msg_storage_priv_t, *msg_storage_priv_t; //typedef struct simdata_storage *simdata_storage_t; // -- 2.20.1