X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a..4be8e24c6d490dfbca2fe7e62da90202065d9d03:/src/msg/msg_mailbox.h?ds=sidebyside diff --git a/src/msg/msg_mailbox.h b/src/msg/msg_mailbox.h index ce93121229..7ac2c96bff 100644 --- a/src/msg/msg_mailbox.h +++ b/src/msg/msg_mailbox.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2014. The SimGrid Team. +/* Copyright (c) 2008-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,9 +7,10 @@ #ifndef MSG_MAILBOX_H #define MSG_MAILBOX_H +#include #include "xbt/fifo.h" #include "simgrid/simix.h" -#include "msg/datatypes.h" +#include "simgrid/msg.h" SG_BEGIN_DECL() @@ -27,7 +28,7 @@ SG_BEGIN_DECL() XBT_PUBLIC(msg_mailbox_t) MSG_mailbox_new(const char *alias); -void MSG_mailbox_free(void *mailbox); +XBT_PRIVATE void MSG_mailbox_free(void *mailbox); /* \brief MSG_mailbox_free - release a mailbox from the memory. * @@ -38,7 +39,7 @@ void MSG_mailbox_free(void *mailbox); * * \see MSG_mailbox_destroy. */ -void MSG_mailbox_free(void *mailbox); +XBT_PRIVATE void MSG_mailbox_free(void *mailbox); /* \brief MSG_mailbox_get_by_alias - get a mailbox from its alias. *