Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reduce a bit the paralellism of the test builds (-j 4 instead of -j 10). This still...
[simgrid.git] / src / simdag / sd_workstation.c
index fef8cf7..af29f84 100644 (file)
@@ -132,11 +132,11 @@ const char* SD_workstation_get_name(SD_workstation_t workstation) {
 /**
  * \brief Returns the value of a given workstation property
  *
- * \param workstation a workstation
+ * \param ws a 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);
 }