@@ -319,8 +319,8 @@ const char* PMIx_Data_type_string(pmix_data_type_t type);
319
319
const char * PMIx_Alloc_directive_string (pmix_alloc_directive_t directive );
320
320
const char * PMIx_IOF_channel_string (pmix_iof_channel_t channel );
321
321
const char * PMIx_Job_state_string (pmix_job_state_t state );
322
- const char * PMIx_Get_attribute_string (char * attribute );
323
- const char * PMIx_Get_attribute_name (char * attrstring );
322
+ const char * PMIx_Get_attribute_string (const char * attribute );
323
+ const char * PMIx_Get_attribute_name (const char * attrstring );
324
324
const char * PMIx_Link_state_string (pmix_link_state_t state );
325
325
const char * PMIx_Device_type_string (pmix_device_type_t type );
326
326
@@ -342,7 +342,7 @@ pmix_status_t PMIx_Data_unpack(const pmix_proc_t *source,
342
342
pmix_status_t PMIx_Data_copy (void * * dest , void * src ,
343
343
pmix_data_type_t type );
344
344
345
- pmix_status_t PMIx_Data_print (char * * output , char * prefix ,
345
+ pmix_status_t PMIx_Data_print (char * * output , const char * prefix ,
346
346
void * src , pmix_data_type_t type );
347
347
348
348
pmix_status_t PMIx_Data_copy_payload (pmix_data_buffer_t * dest ,
@@ -652,7 +652,7 @@ pmix_status_t PMIx_server_deliver_inventory(pmix_info_t info[], size_t ninfo,
652
652
pmix_info_t directives [], size_t ndirs ,
653
653
pmix_op_cbfunc_t cbfunc , void * cbdata );
654
654
655
- pmix_status_t PMIx_Register_attributes (char * function , char * attrs []);
655
+ pmix_status_t PMIx_Register_attributes (const char * function , char * attrs []);
656
656
657
657
pmix_status_t PMIx_server_generate_locality_string (const pmix_cpuset_t * cpuset ,
658
658
char * * locality );
@@ -661,9 +661,9 @@ pmix_status_t PMIx_server_generate_cpuset_string(const pmix_cpuset_t *cpuset,
661
661
char * * cpuset_string );
662
662
663
663
pmix_status_t PMIx_server_define_process_set (const pmix_proc_t * members ,
664
- size_t nmembers , char * pset_name );
664
+ size_t nmembers , const char * pset_name );
665
665
666
- pmix_status_t PMIx_server_delete_process_set (char * pset_name );
666
+ pmix_status_t PMIx_server_delete_process_set (const char * pset_name );
667
667
668
668
pmix_status_t PMIx_server_register_resources (pmix_info_t info [], size_t ninfo ,
669
669
pmix_op_cbfunc_t cbfunc ,
0 commit comments