From e85220681a2ec14c8ef10da5508a65b35d25f54e Mon Sep 17 00:00:00 2001 From: navarro Date: Fri, 2 Mar 2012 19:20:01 +0100 Subject: [PATCH] change char* for const char* --- include/simgrid/platf.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/simgrid/platf.h b/include/simgrid/platf.h index a53982c541..a08e6a67da 100644 --- a/include/simgrid/platf.h +++ b/include/simgrid/platf.h @@ -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 { -- 2.20.1