Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ansi C declaration of the variables (at the beginning of the blocks)
[simgrid.git] / src / simdag / sd_workstation.c
index fef8cf7..814c091 100644 (file)
@@ -136,7 +136,7 @@ const char* SD_workstation_get_name(SD_workstation_t workstation) {
  * \param name a property name
  * \return value of a property (or NULL if property not set)
  */
-const char* SD_workstation_get_property_value(SD_workstation_t ws, char* name)
+const char* SD_workstation_get_property_value(SD_workstation_t ws, const char* name)
 {
   return xbt_dict_get_or_null(SD_workstation_get_properties(ws), name);
 }