From fb2c06ad23be8a12b22bdc8e77c63f4d7c61a1bb Mon Sep 17 00:00:00 2001 From: thiery Date: Mon, 31 Jan 2011 19:19:53 +0000 Subject: [PATCH] Fix possible compilation problem with the declaration of msg_comm_t git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9542 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/msg/datatypes.h | 2 +- src/msg/private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/msg/datatypes.h b/include/msg/datatypes.h index f01910991e..12ae210c38 100644 --- a/include/msg/datatypes.h +++ b/include/msg/datatypes.h @@ -67,7 +67,7 @@ typedef struct m_task *m_task_t; * Communication actions transfer tasks between processes. * For a given task, the sender and the receiver have distinct objects. */ -typedef struct msg_comm_t *msg_comm_t; +typedef struct msg_comm *msg_comm_t; /** \brief Default value for an uninitialized #m_task_t. \ingroup m_datatypes_management diff --git a/src/msg/private.h b/src/msg/private.h index b74bdd19d7..d5f7282576 100644 --- a/src/msg/private.h +++ b/src/msg/private.h @@ -71,7 +71,7 @@ typedef struct process_arg { double kill_time; } s_process_arg_t, *process_arg_t; -typedef struct msg_comm_t { +typedef struct msg_comm { smx_action_t s_comm; /* SIMIX communication object encapsulated (the same for both processes) */ m_task_t task_sent; /* task sent (NULL for the receiver) */ m_task_t *task_received; /* where the task will be received (NULL for the sender) */ -- 2.20.1