Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless internal functions.
[simgrid.git] / src / gras / Msg / msg_private.h
index 79321a2..a124213 100644 (file)
@@ -65,7 +65,7 @@ void gras_msgtype_free(void *msgtype);
 
 
 /* functions to extract msg from socket or put it on wire (depend RL vs SG) */
-gras_msg_t gras_msg_recv_any(void); /* Get first message arriving */
+gras_msg_t gras_msg_recv_any(void);     /* Get first message arriving */
 void gras_msg_recv(gras_socket_t sock, gras_msg_t msg /*OUT*/);
 void gras_msg_send_ext(gras_socket_t sock,
                        e_gras_msg_kind_t kind,
@@ -130,8 +130,8 @@ gras_msg_cb_ctx_t gras_msg_cb_ctx_new(gras_socket_t expe,
 #include "xbt/mallocator.h"
 extern xbt_mallocator_t gras_msg_ctx_mallocator;
 void *gras_msg_ctx_mallocator_new_f(void);
-void gras_msg_ctx_mallocator_free_f(void *dict);
+#define gras_msg_ctx_mallocator_free_f xbt_free_f
 void gras_msg_ctx_mallocator_reset_f(void *dict);
 
 
-#endif /* GRAS_MESSAGE_PRIVATE_H */
+#endif                          /* GRAS_MESSAGE_PRIVATE_H */