X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f5e8daaa6e9f74521068aa75837200bcd182ea6..104ec12984d49e726b38234c5d8ecbfd3732b91e:/include/gras/transport.h diff --git a/include/gras/transport.h b/include/gras/transport.h index 8479a8ba9e..0f8f86864d 100644 --- a/include/gras/transport.h +++ b/include/gras/transport.h @@ -82,9 +82,9 @@ XBT_PUBLIC(int) gras_socket_my_port(gras_socket_t sock); XBT_PUBLIC(int) gras_socket_peer_port(gras_socket_t sock); /** Get the host name of the remote side */ -XBT_PUBLIC(char *) gras_socket_peer_name(gras_socket_t sock); +XBT_PUBLIC(const char *) gras_socket_peer_name(gras_socket_t sock); /** Get the process name of the remote side */ -XBT_PUBLIC(char *) gras_socket_peer_proc(gras_socket_t sock); +XBT_PUBLIC(const char *) gras_socket_peer_proc(gras_socket_t sock); /* @}*/ /** \defgroup GRAS_sock_meas Using measurement sockets