X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8afc2600f02d2978910a7e4f5d59895de33604be..ad5365a072943b2b0bacc486fa504e93a99ea940:/include/xbt/peer.h diff --git a/include/xbt/peer.h b/include/xbt/peer.h index 9feb19ec83..b9b84253ba 100644 --- a/include/xbt/peer.h +++ b/include/xbt/peer.h @@ -21,11 +21,11 @@ typedef struct { int port; } s_xbt_peer_t, *xbt_peer_t; -XBT_PUBLIC xbt_peer_t xbt_peer_new(const char *name, int port); -XBT_PUBLIC xbt_peer_t xbt_peer_from_string(const char *peerport); -XBT_PUBLIC xbt_peer_t xbt_peer_copy(xbt_peer_t h); -XBT_PUBLIC void xbt_peer_free(xbt_peer_t peer); -XBT_PUBLIC void xbt_peer_free_voidp(void *d); +XBT_PUBLIC(xbt_peer_t) xbt_peer_new(const char *name, int port); +XBT_PUBLIC(xbt_peer_t) xbt_peer_from_string(const char *peerport); +XBT_PUBLIC(xbt_peer_t) xbt_peer_copy(xbt_peer_t h); +XBT_PUBLIC(void) xbt_peer_free(xbt_peer_t peer); +XBT_PUBLIC(void) xbt_peer_free_voidp(void *d); SG_END_DECL()