summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-19 12:57:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-19 12:57:51 (GMT)
commit6bbc82b4b30ff17c5b3c899c482b1a724e15d5fb (patch)
tree4096ae929feda8766f5c4918941cb89538687c41 /Modules
parent51a1a7e64f1d01a293eb848260925743f0fabf68 (diff)
parent0adb0e01784ab114efeb2bf24df9c40be706cf01 (diff)
downloadCMake-6bbc82b4b30ff17c5b3c899c482b1a724e15d5fb.zip
CMake-6bbc82b4b30ff17c5b3c899c482b1a724e15d5fb.tar.gz
CMake-6bbc82b4b30ff17c5b3c899c482b1a724e15d5fb.tar.bz2
Merge topic 'CheckTypeSize-decl-warning'
0adb0e0178 CheckTypeSize: Fix with clang '-Werror,-Wmissing-variable-declarations' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3112
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckTypeSize.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckTypeSize.c.in b/Modules/CheckTypeSize.c.in
index 2303c4e..82035a3 100644
--- a/Modules/CheckTypeSize.c.in
+++ b/Modules/CheckTypeSize.c.in
@@ -18,7 +18,7 @@
#endif
#define SIZE (sizeof(@type@))
-char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
+static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),