From 870740efe2f9696f8434a38c05a453e25f122c8b Mon Sep 17 00:00:00 2001 From: Sven Stork Date: Wed, 28 Feb 2007 12:51:55 +0000 Subject: [PATCH] - proper export symbols that are required by other components. This commit was SVN r13841. --- ompi/mca/mtl/base/base.h | 2 ++ ompi/mca/pml/cm/pml_cm_component.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ompi/mca/mtl/base/base.h b/ompi/mca/mtl/base/base.h index b779bf3fb9..f7769f926b 100644 --- a/ompi/mca/mtl/base/base.h +++ b/ompi/mca/mtl/base/base.h @@ -33,6 +33,8 @@ extern "C" { #endif +OMPI_DECLSPEC mca_mtl_base_component_t* ompi_mtl_base_selected_component; + OMPI_DECLSPEC int ompi_mtl_base_open(void); OMPI_DECLSPEC int ompi_mtl_base_select(bool enable_progress_threads, bool enable_mpi_threads); diff --git a/ompi/mca/pml/cm/pml_cm_component.c b/ompi/mca/pml/cm/pml_cm_component.c index 4208d1fe47..c9b3b51a8e 100644 --- a/ompi/mca/pml/cm/pml_cm_component.c +++ b/ompi/mca/pml/cm/pml_cm_component.c @@ -27,7 +27,6 @@ static int mca_pml_cm_component_close(void); static mca_pml_base_module_t* mca_pml_cm_component_init( int* priority, bool enable_progress_threads, bool enable_mpi_threads); static int mca_pml_cm_component_fini(void); -extern mca_mtl_base_component_t* ompi_mtl_base_selected_component; mca_pml_base_component_1_0_0_t mca_pml_cm_component = {