Commit c3fb8658 c3fb86583a693fd9d259692214d16a6f9a919f91 by Alain Magloire

Macro message_unref.

1 parent 27b45d3a
...@@ -51,7 +51,7 @@ extern void message_destroy __P ((message_t *, void *owner)); ...@@ -51,7 +51,7 @@ extern void message_destroy __P ((message_t *, void *owner));
51 extern void * message_get_owner __P ((message_t)); 51 extern void * message_get_owner __P ((message_t));
52 52
53 extern int message_ref __P ((message_t)); 53 extern int message_ref __P ((message_t));
54 #define message_unref(msg) message_destroy (&msg) 54 #define message_unref(msg) message_destroy (&msg, NULL)
55 55
56 extern int message_get_header __P ((message_t, header_t *)); 56 extern int message_get_header __P ((message_t, header_t *));
57 extern int message_set_header __P ((message_t, header_t, void *owner)); 57 extern int message_set_header __P ((message_t, header_t, void *owner));
......