[Cmake-commits] CMake branch, next, updated. v3.7.1-2038-g69d0bac
Brad King
brad.king at kitware.com
Wed Jan 11 09:33:03 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 69d0bac3bb25152fa0b3c4b23139b2bddb96eed2 (commit)
via 6e6253ea88542e9a3c8afc9560f131bc7073ead7 (commit)
via 3e5fbbd6cdc472cdf7823cf81c0e527c79653188 (commit)
from cae7d6db19197200455de775d457d0cbd4bb655d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=69d0bac3bb25152fa0b3c4b23139b2bddb96eed2
commit 69d0bac3bb25152fa0b3c4b23139b2bddb96eed2
Merge: cae7d6d 6e6253e
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Jan 11 09:33:02 2017 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Jan 11 09:33:02 2017 -0500
Merge topic 'cmListFileLexer-warning-fix' into next
6e6253ea cmListFileLexer: Fix signature of cmListFileLexer_New
3e5fbbd6 CMake Nightly Date Stamp
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e6253ea88542e9a3c8afc9560f131bc7073ead7
commit 6e6253ea88542e9a3c8afc9560f131bc7073ead7
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Jan 11 09:32:00 2017 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Jan 11 09:32:00 2017 -0500
cmListFileLexer: Fix signature of cmListFileLexer_New
Add explicit `(void)` instead of an empty argument list, as suggested
by `-Wstrict-prototypes`.
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) {
diff --git a/Source/cmListFileLexer.h b/Source/cmListFileLexer.h
index dfbad5e..c9fb6da 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*);
diff --git a/Source/cmListFileLexer.in.l b/Source/cmListFileLexer.in.l
index 4b389b9..dd64923 100644
--- a/Source/cmListFileLexer.in.l
+++ b/Source/cmListFileLexer.in.l
@@ -398,7 +398,7 @@ static void cmListFileLexerDestroy(cmListFileLexer* lexer)
}
/*--------------------------------------------------------------------------*/
-cmListFileLexer* cmListFileLexer_New()
+cmListFileLexer* cmListFileLexer_New(void)
{
cmListFileLexer* lexer = (cmListFileLexer*)malloc(sizeof(cmListFileLexer));
if (!lexer) {
-----------------------------------------------------------------------
Summary of changes:
Source/CMakeVersion.cmake | 2 +-
Source/cmListFileLexer.c | 2 +-
Source/cmListFileLexer.h | 2 +-
Source/cmListFileLexer.in.l | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list