Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Documentation fixups: Marc was a bit quick at copy/pasting (+ DTD renamed)
[simgrid.git] / src / simdag / sd_link.c
index 4712b06..80cf7ca 100644 (file)
@@ -120,11 +120,11 @@ double SD_link_get_current_bandwidth(SD_link_t link) {
 /**
  * \brief Returns the value of a given link property
  *
- * \param workstation a workstation
+ * \param link the inspected link
  * \param name a property name
  * \return value of a property (or NULL if property not set)
  */
-const char* SD_link_get_property_value(SD_link_t link, char* name)
+const char* SD_link_get_property_value(SD_link_t link, const char* name)
 {
   return xbt_dict_get_or_null(SD_link_get_properties(link), name);
 }