]> AND Public Git Repository - simgrid.git/blobdiff - include/xbt/str.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation errors about multiple definition of `automaton'.
[simgrid.git] / include / xbt / str.h
index c7b4ed1597c6931b60e1c5b78af361d5fe5ecc1f..aa15a11a6274442f395eab1e55a31c56c3309dd8 100644 (file)
@@ -41,11 +41,11 @@ XBT_PUBLIC(char *) xbt_str_join_array(const char *const *strs, const char *sep);
 
 /* */
 XBT_PUBLIC(void) xbt_str_subst(char *str, char from, char to, int amount);
-XBT_PUBLIC(char *) xbt_str_varsubst(char *str, xbt_dict_t patterns);
+XBT_PUBLIC(char *) xbt_str_varsubst(const char *str, xbt_dict_t patterns);
 
 /* */
 XBT_PUBLIC(void) xbt_str_strip_spaces(char *);
-XBT_PUBLIC(char *) xbt_str_diff(char *a, char *b);
+XBT_PUBLIC(char *) xbt_str_diff(const char *a, const char *b);
 
 XBT_PUBLIC(char *) xbt_str_from_file(FILE * file);