Skip to content

Commit 4439d88

Browse files
author
rhc54
authored
Merge pull request #2211 from rhc54/topic/rml
Some compilers apparently complain about this, so modify the typedef …
2 parents 5b40fd2 + fca1556 commit 4439d88

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

orte/mca/rml/rml.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ typedef void (*orte_rml_module_purge_fn_t)(orte_process_name_t *peer);
250250
/**
251251
* RML internal module interface - these will be implemented by all RML components
252252
*/
253-
typedef struct {
253+
typedef struct orte_rml_base_module_t {
254254
/* pointer to the parent component for this module */
255255
struct orte_rml_component_t *component;
256256
/** Ping process for connectivity check */
@@ -640,7 +640,7 @@ typedef void (*orte_rml_module_close_conduit_fn_t)(orte_rml_base_module_t *mod);
640640
* this structure, called mca_rml_[component name]_component, must
641641
* exist in any RML component.
642642
*/
643-
struct orte_rml_component_3_0_0_t {
643+
typedef struct orte_rml_component_t {
644644
/* Base component description */
645645
mca_base_component_t base;
646646
/* Base component data block */
@@ -653,9 +653,7 @@ struct orte_rml_component_3_0_0_t {
653653
orte_rml_component_get_contact_info_fn_t get_contact_info;
654654
orte_rml_component_set_contact_info_fn_t set_contact_info;
655655
orte_rml_module_close_conduit_fn_t close_conduit;
656-
};
657-
/** Convienence typedef */
658-
typedef struct orte_rml_component_3_0_0_t orte_rml_component_t;
656+
} orte_rml_component_t;
659657

660658

661659

0 commit comments

Comments
 (0)