Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix possible compilation problem with the declaration of msg_comm_t
authorthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 31 Jan 2011 19:19:53 +0000 (19:19 +0000)
committerthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 31 Jan 2011 19:19:53 +0000 (19:19 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9542 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/msg/datatypes.h
src/msg/private.h

index f019109..12ae210 100644 (file)
@@ -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 
index b74bdd1..d5f7282 100644 (file)
@@ -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) */