diff --git a/ompi/mca/op/base/base.h b/ompi/mca/op/base/base.h
index 8d9b31fd03..0a7ea54011 100644
--- a/ompi/mca/op/base/base.h
+++ b/ompi/mca/op/base/base.h
@@ -76,7 +76,7 @@ OMPI_DECLSPEC int ompi_op_base_find_available(bool enable_progress_threads,
  * This function is invoked when a new MPI_Op is created and
  * op components need to be selected for it.
  */
-OMPI_DECLSPEC int ompi_op_base_op_select(struct ompi_op_t *op);
+int ompi_op_base_op_select(struct ompi_op_t *op);
 
 /**
  * Finalize all op modules on a specific (intrinsic) MPI_Op.