diff --git a/src/class/ompi_object.h b/src/class/ompi_object.h index 0bbe6c39f2..45ceff8164 100644 --- a/src/class/ompi_object.h +++ b/src/class/ompi_object.h @@ -348,7 +348,7 @@ OMPI_DECLSPEC void ompi_class_initialize(ompi_class_t *); * tools like valgrind and purify don't report still-reachable memory * upon process termination. */ -int ompi_class_finalize(void); +OMPI_DECLSPEC int ompi_class_finalize(void); END_C_DECLS /** diff --git a/src/mca/gpr/base/base.h b/src/mca/gpr/base/base.h index 34047e3eb4..12ba1edfc8 100644 --- a/src/mca/gpr/base/base.h +++ b/src/mca/gpr/base/base.h @@ -220,10 +220,10 @@ OMPI_DECLSPEC int orte_gpr_base_xfer_payload(orte_gpr_value_union_t *dest, /* * globals that might be needed inside the gpr */ -extern int orte_gpr_base_output; -extern bool orte_gpr_base_selected; -extern ompi_list_t orte_gpr_base_components_available; -extern mca_gpr_base_component_t orte_gpr_base_selected_component; +OMPI_DECLSPEC extern int orte_gpr_base_output; +OMPI_DECLSPEC extern bool orte_gpr_base_selected; +OMPI_DECLSPEC extern ompi_list_t orte_gpr_base_components_available; +OMPI_DECLSPEC extern mca_gpr_base_component_t orte_gpr_base_selected_component; #if defined(c_plusplus) || defined(__cplusplus) } diff --git a/src/mca/iof/base/base.h b/src/mca/iof/base/base.h index fdcfe555cb..6a261d50df 100644 --- a/src/mca/iof/base/base.h +++ b/src/mca/iof/base/base.h @@ -59,13 +59,13 @@ typedef struct orte_iof_base_t orte_iof_base_t; -int orte_iof_base_open(void); -int orte_iof_base_close(void); -int orte_iof_base_select(void); -int orte_iof_base_flush(void); +OMPI_DECLSPEC int orte_iof_base_open(void); +OMPI_DECLSPEC int orte_iof_base_close(void); +OMPI_DECLSPEC int orte_iof_base_select(void); +OMPI_DECLSPEC int orte_iof_base_flush(void); -extern orte_iof_base_t orte_iof_base; +OMPI_DECLSPEC extern orte_iof_base_t orte_iof_base; #if defined(c_plusplus) || defined(__cplusplus) }