Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
change char* for const char*
authornavarro <navarro@caraja.(none)>
Fri, 2 Mar 2012 18:20:01 +0000 (19:20 +0100)
committernavarro <navarro@caraja.(none)>
Fri, 2 Mar 2012 18:29:22 +0000 (19:29 +0100)
include/simgrid/platf.h

index a53982c..a08e6a6 100644 (file)
@@ -106,20 +106,20 @@ typedef struct s_sg_platf_cluster_cbarg {
 } s_sg_platf_cluster_cbarg_t;
 
 typedef struct {
-  char* id;
-  char* type_id;
+  const char* id;
+  const char* type_id;
 } s_sg_platf_storage_cbarg_t, *sg_platf_storage_cbarg_t;
 
 typedef struct {
-  char* id;
-  char* model;
-  char* content;
+  const char* id;
+  const char* model;
+  const char* content;
   xbt_dict_t properties;
 } s_sg_platf_storage_type_cbarg_t, *sg_platf_storage_type_cbarg_t;
 
 typedef struct {
-  char* type_id;
-  char* name;
+  const char* type_id;
+  const char* name;
 } s_sg_platf_mstorage_cbarg_t, *sg_platf_mstorage_cbarg_t;
 
 typedef struct {