Skip to content

Commit a7923b3

Browse files
committed
Don't require C99 in mpi.h
1 parent c2d3f89 commit a7923b3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ authors:
55
given-names: Erik
66
orcid: 0000-0002-4518-9017
77
title: MPItrampoline
8-
version: v4.1.1
8+
version: v4.1.2
99
doi: 10.5281/zenodo.6174408
1010
date-released: 2022-07-11

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.12...3.20)
22
project(
3-
MPItrampoline VERSION 4.1.1
3+
MPItrampoline VERSION 4.1.2
44
DESCRIPTION "MPI trampoline"
55
HOMEPAGE_URL "https://github.com/eschnett/MPItrampoline"
66
LANGUAGES NONE

include/mpi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ extern int MPITRAMPOLINE_CONST mpiabi_loaded_version_patch;
116116
#include "mpi_decl_constants_c.h"
117117
#include "mpi_decl_functions_c.h"
118118

119-
inline int PMPI_Pcontrol(int level, ...) { return MPI_SUCCESS; }
119+
int PMPI_Pcontrol(int level, ...);
120120
int MPI_Pcontrol(int level, ...);
121121

122122
#ifdef __cplusplus

src/mpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ int mpiabi_loaded_version_patch = -1;
4141
#include "mpi_defn_constants_c.h"
4242
#include "mpi_defn_functions_c.h"
4343

44-
extern inline int PMPI_Pcontrol(int level, ...);
44+
int PMPI_Pcontrol(int level, ...) { return MPI_SUCCESS; }
4545
int MPI_Pcontrol(int level, ...) { return MPI_SUCCESS; }
4646

4747
#ifdef ENABLE_FORTRAN

0 commit comments

Comments
 (0)