A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Review const attribute for pointers..
[simgrid.git]
/
src
/
xbt
/
xbt_str.c
diff --git
a/src/xbt/xbt_str.c
b/src/xbt/xbt_str.c
index
a0b6bfa
..
d0fbddf
100644
(file)
--- a/
src/xbt/xbt_str.c
+++ b/
src/xbt/xbt_str.c
@@
-541,7
+541,7
@@
char *xbt_str_join(xbt_dynar_t dyn, const char *sep)
* The parameter must be a NULL-terminated array of chars,
* just like xbt_dynar_to_array() produces
*/
* The parameter must be a NULL-terminated array of chars,
* just like xbt_dynar_to_array() produces
*/
-char *xbt_str_join_array(c
har*const*
strs, const char *sep)
+char *xbt_str_join_array(c
onst char *const *
strs, const char *sep)
{
char *res,*q;
int amount_strings=0;
{
char *res,*q;
int amount_strings=0;