summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileLexer.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-11 14:32:00 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-11 14:32:00 (GMT)
commit6e6253ea88542e9a3c8afc9560f131bc7073ead7 (patch)
tree367b36122885d2e1022c65548cf3c2a424e637bd /Source/cmListFileLexer.c
parent3e5fbbd6cdc472cdf7823cf81c0e527c79653188 (diff)
downloadCMake-6e6253ea88542e9a3c8afc9560f131bc7073ead7.zip
CMake-6e6253ea88542e9a3c8afc9560f131bc7073ead7.tar.gz
CMake-6e6253ea88542e9a3c8afc9560f131bc7073ead7.tar.bz2
cmListFileLexer: Fix signature of cmListFileLexer_New
Add explicit `(void)` instead of an empty argument list, as suggested by `-Wstrict-prototypes`.
Diffstat (limited to 'Source/cmListFileLexer.c')
-rw-r--r--Source/cmListFileLexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileLexer.c b/Source/cmListFileLexer.c
index 31faca1..56559f6 100644
--- a/Source/cmListFileLexer.c
+++ b/Source/cmListFileLexer.c
@@ -2518,7 +2518,7 @@ static void cmListFileLexerDestroy(cmListFileLexer* lexer)
}
/*--------------------------------------------------------------------------*/
-cmListFileLexer* cmListFileLexer_New()
+cmListFileLexer* cmListFileLexer_New(void)
{
cmListFileLexer* lexer = (cmListFileLexer*)malloc(sizeof(cmListFileLexer));
if (!lexer) {