Skip to content

v5.0.x: Remove the use of [OPAL|OMPI|OSHMEM]_MODULE_DECLSPEC #10775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/build-mca-comps-outside-of-tree/btl_tcp2.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ struct mca_btl_tcp2_component_t {
};
typedef struct mca_btl_tcp2_component_t mca_btl_tcp2_component_t;

OMPI_MODULE_DECLSPEC extern mca_btl_tcp2_component_t mca_btl_tcp2_component;
OMPI_DECLSPEC extern mca_btl_tcp2_component_t mca_btl_tcp2_component;

/**
* BTL Module Interface
Expand Down
8 changes: 1 addition & 7 deletions ompi/include/ompi_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2007-2012 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2007-2022 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
Expand Down Expand Up @@ -44,16 +44,10 @@
# ifndef OMPI_DECLSPEC
# define OMPI_DECLSPEC __opal_attribute_visibility__("default")
# endif
# ifndef OMPI_MODULE_DECLSPEC
# define OMPI_MODULE_DECLSPEC __opal_attribute_visibility__("default")
# endif
# else
# ifndef OMPI_DECLSPEC
# define OMPI_DECLSPEC
# endif
# ifndef OMPI_MODULE_DECLSPEC
# define OMPI_MODULE_DECLSPEC
# endif
# endif

#endif
2 changes: 1 addition & 1 deletion ompi/mca/coll/adapt/coll_adapt.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ struct mca_coll_adapt_module_t {
OBJ_CLASS_DECLARATION(mca_coll_adapt_module_t);

/* Global component instance */
OMPI_MODULE_DECLSPEC extern mca_coll_adapt_component_t mca_coll_adapt_component;
OMPI_DECLSPEC extern mca_coll_adapt_component_t mca_coll_adapt_component;

/* ADAPT module functions */
int ompi_coll_adapt_init_query(bool enable_progress_threads, bool enable_mpi_threads);
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/basic/coll_basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ BEGIN_C_DECLS

/* Globally exported variables */

OMPI_MODULE_DECLSPEC extern const mca_coll_base_component_2_4_0_t
OMPI_DECLSPEC extern const mca_coll_base_component_2_4_0_t
mca_coll_basic_component;
extern int mca_coll_basic_priority;
extern int mca_coll_basic_crossover;
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/cuda/coll_cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ typedef struct mca_coll_cuda_component_t {

/* Globally exported variables */

OMPI_MODULE_DECLSPEC extern mca_coll_cuda_component_t mca_coll_cuda_component;
OMPI_DECLSPEC extern mca_coll_cuda_component_t mca_coll_cuda_component;

END_C_DECLS

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/demo/coll_demo.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ BEGIN_C_DECLS

/* Globally exported variables */

OMPI_MODULE_DECLSPEC extern const mca_coll_base_component_2_4_0_t mca_coll_demo_component;
OMPI_DECLSPEC extern const mca_coll_base_component_2_4_0_t mca_coll_demo_component;
extern int mca_coll_demo_priority;
extern int mca_coll_demo_verbose;

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/ftagree/coll_ftagree.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ BEGIN_C_DECLS

/* Globally exported variables */

OMPI_MODULE_DECLSPEC extern const mca_coll_base_component_2_4_0_t
OMPI_DECLSPEC extern const mca_coll_base_component_2_4_0_t
mca_coll_ftagree_component;
extern int mca_coll_ftagree_priority;

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/han/coll_han.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ OBJ_CLASS_DECLARATION(mca_coll_han_module_t);
/**
* Global component instance
*/
OMPI_MODULE_DECLSPEC extern mca_coll_han_component_t mca_coll_han_component;
OMPI_DECLSPEC extern mca_coll_han_component_t mca_coll_han_component;

/*
* coll module functions
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/hcoll/coll_hcoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct mca_coll_hcoll_component_t {
};
typedef struct mca_coll_hcoll_component_t mca_coll_hcoll_component_t;

OMPI_MODULE_DECLSPEC extern mca_coll_hcoll_component_t mca_coll_hcoll_component;
OMPI_DECLSPEC extern mca_coll_hcoll_component_t mca_coll_hcoll_component;



Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/inter/coll_inter.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ BEGIN_C_DECLS
* Globally exported variable
*/

OMPI_MODULE_DECLSPEC extern const mca_coll_base_component_2_4_0_t mca_coll_inter_component;
OMPI_DECLSPEC extern const mca_coll_base_component_2_4_0_t mca_coll_inter_component;
extern int mca_coll_inter_priority_param;
extern int mca_coll_inter_verbose_param;

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/libnbc/coll_libnbc.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ struct ompi_coll_libnbc_component_t {
typedef struct ompi_coll_libnbc_component_t ompi_coll_libnbc_component_t;

/* Globally exported variables */
OMPI_MODULE_DECLSPEC extern ompi_coll_libnbc_component_t mca_coll_libnbc_component;
OMPI_DECLSPEC extern ompi_coll_libnbc_component_t mca_coll_libnbc_component;

struct ompi_coll_libnbc_module_t {
mca_coll_base_module_t super;
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/portals4/coll_portals4.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct mca_coll_portals4_component_t {

};
typedef struct mca_coll_portals4_component_t mca_coll_portals4_component_t;
OMPI_MODULE_DECLSPEC extern mca_coll_portals4_component_t mca_coll_portals4_component;
OMPI_DECLSPEC extern mca_coll_portals4_component_t mca_coll_portals4_component;


/*
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/self/coll_self.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ BEGIN_C_DECLS
* Globally exported variable
*/

OMPI_MODULE_DECLSPEC extern const mca_coll_base_component_2_4_0_t mca_coll_self_component;
OMPI_DECLSPEC extern const mca_coll_base_component_2_4_0_t mca_coll_self_component;
extern int ompi_coll_self_priority;

/*
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/sm/coll_sm.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ BEGIN_C_DECLS
/**
* Global component instance
*/
OMPI_MODULE_DECLSPEC extern mca_coll_sm_component_t mca_coll_sm_component;
OMPI_DECLSPEC extern mca_coll_sm_component_t mca_coll_sm_component;

/*
* coll module functions
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/sync/coll_sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ typedef struct mca_coll_sync_component_t {

/* Globally exported variables */

OMPI_MODULE_DECLSPEC extern mca_coll_sync_component_t mca_coll_sync_component;
OMPI_DECLSPEC extern mca_coll_sync_component_t mca_coll_sync_component;

/* Macro used in most of the collectives */

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/tuned/coll_tuned.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ typedef struct mca_coll_tuned_component_t mca_coll_tuned_component_t;
/**
* Global component instance
*/
OMPI_MODULE_DECLSPEC extern mca_coll_tuned_component_t mca_coll_tuned_component;
OMPI_DECLSPEC extern mca_coll_tuned_component_t mca_coll_tuned_component;

struct mca_coll_tuned_module_t {
mca_coll_base_module_t super;
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/ucc/coll_ucc.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct mca_coll_ucc_component_t {
};
typedef struct mca_coll_ucc_component_t mca_coll_ucc_component_t;

OMPI_MODULE_DECLSPEC extern mca_coll_ucc_component_t mca_coll_ucc_component;
OMPI_DECLSPEC extern mca_coll_ucc_component_t mca_coll_ucc_component;

/**
* UCC enabled communicator
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fbtl/ime/fbtl_ime.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int mca_fbtl_ime_component_file_unquery (ompio_file_t *file);
int mca_fbtl_ime_module_init (ompio_file_t *file);
int mca_fbtl_ime_module_finalize (ompio_file_t *file);

OMPI_MODULE_DECLSPEC extern mca_fbtl_base_component_2_0_0_t mca_fbtl_ime_component;
OMPI_DECLSPEC extern mca_fbtl_base_component_2_0_0_t mca_fbtl_ime_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fbtl/posix/fbtl_posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int mca_fbtl_posix_module_finalize (ompio_file_t *file);

extern int fbtl_posix_max_aio_active_reqs;

OMPI_MODULE_DECLSPEC extern mca_fbtl_base_component_2_0_0_t mca_fbtl_posix_component;
OMPI_DECLSPEC extern mca_fbtl_base_component_2_0_0_t mca_fbtl_posix_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fbtl/pvfs2/fbtl_pvfs2.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ int mca_fbtl_pvfs2_component_file_unquery (ompio_file_t *file);
int mca_fbtl_pvfs2_module_init (ompio_file_t *file);
int mca_fbtl_pvfs2_module_finalize (ompio_file_t *file);

OMPI_MODULE_DECLSPEC extern mca_fbtl_base_component_2_0_0_t mca_fbtl_pvfs2_component;
OMPI_DECLSPEC extern mca_fbtl_base_component_2_0_0_t mca_fbtl_pvfs2_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fcoll/dynamic/fcoll_dynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ BEGIN_C_DECLS

extern int mca_fcoll_dynamic_priority;

OMPI_MODULE_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_dynamic_component;
OMPI_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_dynamic_component;

/* API functions */

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fcoll/dynamic_gen2/fcoll_dynamic_gen2.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ BEGIN_C_DECLS
extern int mca_fcoll_dynamic_gen2_priority;
extern int mca_fcoll_dynamic_gen2_num_groups;

OMPI_MODULE_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_dynamic_gen2_component;
OMPI_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_dynamic_gen2_component;

/* API functions */

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fcoll/individual/fcoll_individual.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ BEGIN_C_DECLS

extern int mca_fcoll_individual_priority;

OMPI_MODULE_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_individual_component;
OMPI_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_individual_component;

/* API functions */

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fcoll/vulcan/fcoll_vulcan.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extern int mca_fcoll_vulcan_num_groups;
extern int mca_fcoll_vulcan_write_chunksize;
extern int mca_fcoll_vulcan_async_io;

OMPI_MODULE_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_vulcan_component;
OMPI_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_vulcan_component;

/* API functions */

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fs/gpfs/fs_gpfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ int mca_fs_gpfs_component_file_unquery(ompio_file_t *file);

int mca_fs_gpfs_module_init(ompio_file_t *file);
int mca_fs_gpfs_module_finalize(ompio_file_t *file);
OMPI_MODULE_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_gpfs_component;
OMPI_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_gpfs_component;

/*
* ******************************************************************
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fs/ime/fs_ime.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int mca_fs_ime_module_finalize (ompio_file_t *file);

int mca_fs_ime_native_fini(void);

OMPI_MODULE_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_ime_component;
OMPI_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_ime_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fs/lustre/fs_lustre.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int mca_fs_lustre_component_file_unquery (ompio_file_t *file);
int mca_fs_lustre_module_init (ompio_file_t *file);
int mca_fs_lustre_module_finalize (ompio_file_t *file);

OMPI_MODULE_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_lustre_component;
OMPI_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_lustre_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fs/pvfs2/fs_pvfs2.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int mca_fs_pvfs2_component_file_unquery (ompio_file_t *file);
int mca_fs_pvfs2_module_init (ompio_file_t *file);
int mca_fs_pvfs2_module_finalize (ompio_file_t *file);

OMPI_MODULE_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_pvfs2_component;
OMPI_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_pvfs2_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/fs/ufs/fs_ufs.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int mca_fs_ufs_component_file_unquery (ompio_file_t *file);
int mca_fs_ufs_module_init (ompio_file_t *file);
int mca_fs_ufs_module_finalize (ompio_file_t *file);

OMPI_MODULE_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_ufs_component;
OMPI_DECLSPEC extern mca_fs_base_component_2_0_0_t mca_fs_ufs_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/hook/comm_method/hook_comm_method.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

BEGIN_C_DECLS

OMPI_MODULE_DECLSPEC extern ompi_hook_base_component_1_0_0_t mca_hook_comm_method_component;
OMPI_DECLSPEC extern ompi_hook_base_component_1_0_0_t mca_hook_comm_method_component;

extern int mca_hook_comm_method_verbose;
extern int mca_hook_comm_method_output;
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/hook/demo/hook_demo.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

BEGIN_C_DECLS

OMPI_MODULE_DECLSPEC extern const ompi_hook_base_component_1_0_0_t mca_hook_demo_component;
OMPI_DECLSPEC extern const ompi_hook_base_component_1_0_0_t mca_hook_demo_component;

void ompi_hook_demo_mpi_initialized_top(int *flag);
void ompi_hook_demo_mpi_initialized_bottom(int *flag);
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/mtl/portals4/mtl_portals4_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static mca_mtl_base_module_t*
ompi_mtl_portals4_component_init(bool enable_progress_threads,
bool enable_mpi_threads);

OMPI_MODULE_DECLSPEC extern mca_mtl_base_component_2_0_0_t mca_mtl_portals4_component;
OMPI_DECLSPEC extern mca_mtl_base_component_2_0_0_t mca_mtl_portals4_component;

mca_mtl_base_component_2_0_0_t mca_mtl_portals4_component = {

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/osc/rdma/osc_rdma.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ struct ompi_osc_rdma_module_t {
opal_atomic_int32_t pending_ops;
};
typedef struct ompi_osc_rdma_module_t ompi_osc_rdma_module_t;
OMPI_MODULE_DECLSPEC extern ompi_osc_rdma_component_t mca_osc_rdma_component;
OMPI_DECLSPEC extern ompi_osc_rdma_component_t mca_osc_rdma_component;

#define GET_MODULE(win) ((ompi_osc_rdma_module_t*) win->w_osc_module)

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/part/persist/part_persist_component.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ BEGIN_C_DECLS
/*
* PART module functions.
*/
OMPI_MODULE_DECLSPEC extern mca_part_base_component_4_0_0_t mca_part_rma_component;
OMPI_DECLSPEC extern mca_part_base_component_4_0_0_t mca_part_rma_component;

END_C_DECLS

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/pml/cm/pml_cm_component.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BEGIN_C_DECLS
/*
* PML module functions.
*/
OMPI_MODULE_DECLSPEC extern mca_pml_base_component_2_1_0_t mca_pml_cm_component;
OMPI_DECLSPEC extern mca_pml_base_component_2_1_0_t mca_pml_cm_component;

END_C_DECLS

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/pml/ob1/pml_ob1_component.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ BEGIN_C_DECLS
/*
* PML module functions.
*/
OMPI_MODULE_DECLSPEC extern mca_pml_base_component_2_1_0_t mca_pml_ob1_component;
OMPI_DECLSPEC extern mca_pml_base_component_2_1_0_t mca_pml_ob1_component;

END_C_DECLS

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/pml/v/pml_v.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

BEGIN_C_DECLS

OMPI_MODULE_DECLSPEC extern mca_pml_base_component_2_1_0_t mca_pml_v_component;
OMPI_DECLSPEC extern mca_pml_base_component_2_1_0_t mca_pml_v_component;

END_C_DECLS

Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/sharedfp/individual/sharedfp_individual.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extern int mca_sharedfp_individual_priority;
extern int mca_sharedfp_individual_verbose;
extern int mca_sharedfp_individual_usage_counter;

OMPI_MODULE_DECLSPEC extern mca_sharedfp_base_component_2_0_0_t mca_sharedfp_individual_component;
OMPI_DECLSPEC extern mca_sharedfp_base_component_2_0_0_t mca_sharedfp_individual_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/sharedfp/lockedfile/sharedfp_lockedfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int mca_sharedfp_lockedfile_module_finalize (ompio_file_t *file);
extern int mca_sharedfp_lockedfile_priority;
extern int mca_sharedfp_lockedfile_verbose;

OMPI_MODULE_DECLSPEC extern mca_sharedfp_base_component_2_0_0_t mca_sharedfp_lockedfile_component;
OMPI_DECLSPEC extern mca_sharedfp_base_component_2_0_0_t mca_sharedfp_lockedfile_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/sharedfp/sm/sharedfp_sm.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int mca_sharedfp_sm_module_finalize (ompio_file_t *file);
extern int mca_sharedfp_sm_priority;
extern int mca_sharedfp_sm_verbose;

OMPI_MODULE_DECLSPEC extern mca_sharedfp_base_component_2_0_0_t mca_sharedfp_sm_component;
OMPI_DECLSPEC extern mca_sharedfp_base_component_2_0_0_t mca_sharedfp_sm_component;
/*
* ******************************************************************
* ********* functions which are implemented in this module *********
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/topo/basic/topo_basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ BEGIN_C_DECLS

typedef mca_topo_base_component_2_2_0_t mca_topo_basic_component_t;
/* Public component instance */
OMPI_MODULE_DECLSPEC extern mca_topo_basic_component_t
OMPI_DECLSPEC extern mca_topo_basic_component_t
mca_topo_basic_component;

END_C_DECLS
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/topo/example/topo_example.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ BEGIN_C_DECLS
/*
* Public component instance
*/
OMPI_MODULE_DECLSPEC extern mca_topo_base_component_2_2_0_t
OMPI_DECLSPEC extern mca_topo_base_component_2_2_0_t
mca_topo_example_component;

/*
Expand Down
Loading