From 815d7bc846f8b554cd1861ff860185b949cef681 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 29 Jul 2014 07:00:01 +0000 Subject: [PATCH] Fix the example to use the new 2_2 topo component. This commit was SVN r32338. --- ompi/mca/topo/example/topo_example.h | 2 +- ompi/mca/topo/example/topo_example_component.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ompi/mca/topo/example/topo_example.h b/ompi/mca/topo/example/topo_example.h index f0ecf1a92d..ca7b24315f 100644 --- a/ompi/mca/topo/example/topo_example.h +++ b/ompi/mca/topo/example/topo_example.h @@ -42,7 +42,7 @@ BEGIN_C_DECLS /* * Public component instance */ -OMPI_MODULE_DECLSPEC extern mca_topo_base_component_2_1_0_t +OMPI_MODULE_DECLSPEC extern mca_topo_base_component_2_2_0_t mca_topo_example_component; /* diff --git a/ompi/mca/topo/example/topo_example_component.c b/ompi/mca/topo/example/topo_example_component.c index 651295cabc..90d2d03a45 100644 --- a/ompi/mca/topo/example/topo_example_component.c +++ b/ompi/mca/topo/example/topo_example_component.c @@ -37,10 +37,10 @@ comm_query(const ompi_communicator_t *comm, int *priority, uint32_t type); /* * Public component structure */ -mca_topo_base_component_2_1_0_t mca_topo_example_component = +mca_topo_base_component_2_2_0_t mca_topo_example_component = { { - MCA_TOPO_BASE_VERSION_2_1_0, + MCA_TOPO_BASE_VERSION_2_2_0, "example", OMPI_MAJOR_VERSION,