diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2021-06-30 20:51:06 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2021-06-30 20:51:06 (GMT) |
commit | 8cce0ad32fba98dc3e3f6cdd952d07a955479357 (patch) | |
tree | 668a9af271defc390b2efe02d15244ea1ead2183 /Modules/FindMPI | |
parent | 88fade3914629666b28260f2197c8f11c6737857 (diff) | |
download | CMake-8cce0ad32fba98dc3e3f6cdd952d07a955479357.zip CMake-8cce0ad32fba98dc3e3f6cdd952d07a955479357.tar.gz CMake-8cce0ad32fba98dc3e3f6cdd952d07a955479357.tar.bz2 |
FindMPI: Fix missing static warning in the mpi test source
Diffstat (limited to 'Modules/FindMPI')
-rw-r--r-- | Modules/FindMPI/test_mpi.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Modules/FindMPI/test_mpi.c b/Modules/FindMPI/test_mpi.c index 7c96d54..70d7e1d 100644 --- a/Modules/FindMPI/test_mpi.c +++ b/Modules/FindMPI/test_mpi.c @@ -7,15 +7,15 @@ #endif #if defined(MPI_VERSION) && defined(MPI_SUBVERSION) -const char mpiver_str[] = { 'I', 'N', - 'F', 'O', - ':', 'M', - 'P', 'I', - '-', 'V', - 'E', 'R', - '[', ('0' + MPI_VERSION), - '.', ('0' + MPI_SUBVERSION), - ']', '\0' }; +const static char mpiver_str[] = { 'I', 'N', + 'F', 'O', + ':', 'M', + 'P', 'I', + '-', 'V', + 'E', 'R', + '[', ('0' + MPI_VERSION), + '.', ('0' + MPI_SUBVERSION), + ']', '\0' }; #endif int main(int argc, char* argv[]) |