summaryrefslogtreecommitdiff
path: root/Modules/FindMPI
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-25 09:53:24 -0500
committerBrad King <brad.king@kitware.com>2022-01-25 09:53:24 -0500
commit036d0cbbde2d4aa8c40851b03b01dd10ae588f58 (patch)
tree3e36974c7c928bfa683e1aaa5fa80a1f15a52244 /Modules/FindMPI
parent8428e39ed9cddb3b7f1a6f7a58cb8617503183d2 (diff)
downloadcmake-036d0cbbde2d4aa8c40851b03b01dd10ae588f58.tar.gz
FindMPI: Place static first in mpi test source
Move the `static` added by commit 8cce0ad32f (FindMPI: Fix missing static warning in the mpi test source, 2021-06-30, v3.22.0-rc1~502^2) to the beginning of the line. Fixes: #23141
Diffstat (limited to 'Modules/FindMPI')
-rw-r--r--Modules/FindMPI/test_mpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMPI/test_mpi.c b/Modules/FindMPI/test_mpi.c
index 70d7e1d3e0..36b5dfd4ed 100644
--- a/Modules/FindMPI/test_mpi.c
+++ b/Modules/FindMPI/test_mpi.c
@@ -7,7 +7,7 @@
#endif
#if defined(MPI_VERSION) && defined(MPI_SUBVERSION)
-const static char mpiver_str[] = { 'I', 'N',
+static const char mpiver_str[] = { 'I', 'N',
'F', 'O',
':', 'M',
'P', 'I',