Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill trivial MSG_task_has_data() and use get_data()!=NULL instead
[simgrid.git] / include / msg / msg.h
index e8d581f8eb7f3dc307416cdbe4bea7b49eeca7df..f75907f210dc165e28de47fe2a7ee2f66824068b 100644 (file)
@@ -114,7 +114,6 @@ XBT_PUBLIC(const char *) MSG_task_get_name(m_task_t task);
 XBT_PUBLIC(MSG_error_t) MSG_task_cancel(m_task_t task);
 XBT_PUBLIC(MSG_error_t) MSG_task_destroy(m_task_t task);
 XBT_PUBLIC(void) MSG_task_ref(m_task_t t);
-XBT_PUBLIC(int) MSG_task_has_data(m_task_t t);
 
 XBT_PUBLIC(MSG_error_t) MSG_task_get(m_task_t * task, m_channel_t channel);
 XBT_PUBLIC(MSG_error_t) MSG_task_get_with_timeout(m_task_t * task,
@@ -209,5 +208,7 @@ XBT_PUBLIC(void) MSG_action_unregister(const char *action_name);
 
 #endif
 
+#include "instr/instr.h"
+
 SG_END_DECL()
 #endif