summaryrefslogtreecommitdiff
path: root/Modules/CMakeCCompilerABI.c
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2023-01-18 12:46:53 -0500
committerBrad King <brad.king@kitware.com>2023-01-18 16:20:47 -0500
commit33abef7416401b7db9f5f68cee447b4246310e72 (patch)
tree4639cca017838624bfb38c9d82eb34266a28b0c8 /Modules/CMakeCCompilerABI.c
parent57221fd56f77d32703aadada435d9a8f0dc3fb6c (diff)
downloadcmake-33abef7416401b7db9f5f68cee447b4246310e72.tar.gz
Revise C++ coding style using clang-format-15
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Fixes: #24315
Diffstat (limited to 'Modules/CMakeCCompilerABI.c')
-rw-r--r--Modules/CMakeCCompilerABI.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeCCompilerABI.c b/Modules/CMakeCCompilerABI.c
index f0ee21acf2..63596be4a5 100644
--- a/Modules/CMakeCCompilerABI.c
+++ b/Modules/CMakeCCompilerABI.c
@@ -9,7 +9,8 @@
#include "CMakeCompilerABI.h"
#ifdef __CLASSIC_C__
-int main(argc, argv) int argc;
+int main(argc, argv)
+int argc;
char* argv[];
#else
int main(int argc, char* argv[])