From 9666884cf1e7452c2f6414edca838a7542631614 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 26 Feb 2015 14:00:17 -0800 Subject: [PATCH] shmem: make the base_module_t a real mca_base_module_t This allows the opal_shmem_base_module_t to be properly cast to an mca_base_module_t. (this commit is the rationale for the previous shmem C99 .member initialization commit) --- opal/mca/shmem/shmem.h | 1 + 1 file changed, 1 insertion(+) diff --git a/opal/mca/shmem/shmem.h b/opal/mca/shmem/shmem.h index 21ab425465..e491df149d 100644 --- a/opal/mca/shmem/shmem.h +++ b/opal/mca/shmem/shmem.h @@ -161,6 +161,7 @@ typedef int (*opal_shmem_base_module_finalize_fn_t)(void); * structure for shmem modules */ struct opal_shmem_base_module_2_0_0_t { + mca_base_module_t base; opal_shmem_base_module_init_fn_t module_init; opal_shmem_base_module_segment_create_fn_t segment_create; opal_shmem_base_ds_copy_fn_t ds_copy;