From: mquinson Date: Mon, 6 Jun 2005 20:52:43 +0000 (+0000) Subject: change the prototype of datadesc_get_name to return a const char* X-Git-Tag: v3.3~4003 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b8263c9bbadaf1ab49982051c234d404c53dd69e change the prototype of datadesc_get_name to return a const char* git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1352 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/gras/datadesc.h b/include/gras/datadesc.h index 58d416977f..d91cd28527 100644 --- a/include/gras/datadesc.h +++ b/include/gras/datadesc.h @@ -251,7 +251,7 @@ void gras_datadesc_cb_field_push (gras_datadesc_type_t type, * Get stuff within datadescs * ******************************/ /** \brief Returns the name of a datadescription */ -char * gras_datadesc_get_name(gras_datadesc_type_t ddt); +const char * gras_datadesc_get_name(gras_datadesc_type_t ddt); /** \brief Returns the identifier of a datadescription */ int gras_datadesc_get_id(gras_datadesc_type_t ddt);