summaryrefslogtreecommitdiff
path: root/Source/cmListFileLexer.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-11 09:32:00 -0500
committerBrad King <brad.king@kitware.com>2017-01-11 09:32:00 -0500
commit6e6253ea88542e9a3c8afc9560f131bc7073ead7 (patch)
tree367b36122885d2e1022c65548cf3c2a424e637bd /Source/cmListFileLexer.h
parent3e5fbbd6cdc472cdf7823cf81c0e527c79653188 (diff)
downloadcmake-6e6253ea88542e9a3c8afc9560f131bc7073ead7.tar.gz
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.h')
-rw-r--r--Source/cmListFileLexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileLexer.h b/Source/cmListFileLexer.h
index dfbad5ee1b..c9fb6da1d6 100644
--- a/Source/cmListFileLexer.h
+++ b/Source/cmListFileLexer.h
@@ -46,7 +46,7 @@ typedef struct cmListFileLexer_s cmListFileLexer;
extern "C" {
#endif
-cmListFileLexer* cmListFileLexer_New();
+cmListFileLexer* cmListFileLexer_New(void);
int cmListFileLexer_SetFileName(cmListFileLexer*, const char*,
cmListFileLexer_BOM* bom);
int cmListFileLexer_SetString(cmListFileLexer*, const char*);