summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-18 12:42:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-18 12:42:57 (GMT)
commitcff5112385342fde6dd4fc643265789c3616e414 (patch)
tree493f376c072b4b59da604e6be42cfef4eb0743c2 /Modules
parent9519d79b63af5912ecb620ea28079a2341ee0253 (diff)
parent4bc17345c01ea467099e28c7df30c23ace9e7811 (diff)
downloadCMake-cff5112385342fde6dd4fc643265789c3616e414.zip
CMake-cff5112385342fde6dd4fc643265789c3616e414.tar.gz
CMake-cff5112385342fde6dd4fc643265789c3616e414.tar.bz2
Merge topic 'CheckFunctionExists-prototype'
4bc17345 CheckFunctionExists.c: avoid gcc warnings with -Wstrict-prototypes
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckFunctionExists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckFunctionExists.c b/Modules/CheckFunctionExists.c
index 2304000..224e340 100644
--- a/Modules/CheckFunctionExists.c
+++ b/Modules/CheckFunctionExists.c
@@ -4,7 +4,7 @@
extern "C"
#endif
char
- CHECK_FUNCTION_EXISTS();
+ CHECK_FUNCTION_EXISTS(void);
#ifdef __CLASSIC_C__
int main()
{