Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use msg_host_t instead of m_host_t.
[simgrid.git] / examples / msg / sendrecv / sendrecv.c
index a59aa54..75b84bc 100644 (file)
@@ -35,7 +35,7 @@ double task_comm_size_bw = 10e8;
 /** Emitter function  */
 int sender(int argc, char *argv[])
 {
-  m_host_t host = NULL;
+  msg_host_t host = NULL;
   double time;
   m_task_t task_la = NULL;
   m_task_t task_bw = NULL;
@@ -44,7 +44,7 @@ int sender(int argc, char *argv[])
 
   XBT_INFO("sender");
 
-  /*host = xbt_new0(m_host_t,1); */
+  /*host = xbt_new0(msg_host_t,1); */
 
   XBT_INFO("host = %s", argv[1]);
 
@@ -165,7 +165,7 @@ int main(int argc, char *argv[])
       _set_output_format(_TWO_DIGIT_EXPONENT);
 #endif
 
-  MSG_global_init(&argc, argv);
+  MSG_init(&argc, argv);
 
 
   if (argc != 3) {