summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileLexer.in.l
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-09 14:11:35 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-09 14:11:35 (GMT)
commitc85e16450ddf1424457d6208dfd3459724b60035 (patch)
tree98e10d285bcecda7fe8ae719e2aa880e33a6b974 /Source/cmListFileLexer.in.l
parent1eca26f4c4b1132c6ee06947833789f6b9006083 (diff)
downloadCMake-c85e16450ddf1424457d6208dfd3459724b60035.zip
CMake-c85e16450ddf1424457d6208dfd3459724b60035.tar.gz
CMake-c85e16450ddf1424457d6208dfd3459724b60035.tar.bz2
ERR: Added missing static keyword to cmListFileLexerSetToken and cmListFileLexerAppend definitions.
Diffstat (limited to 'Source/cmListFileLexer.in.l')
-rw-r--r--Source/cmListFileLexer.in.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmListFileLexer.in.l b/Source/cmListFileLexer.in.l
index 33cff6e..6efd5f0 100644
--- a/Source/cmListFileLexer.in.l
+++ b/Source/cmListFileLexer.in.l
@@ -171,8 +171,8 @@ static void cmListFileLexerAppend(cmListFileLexer* lexer, const char* text,
%%
/*--------------------------------------------------------------------------*/
-void cmListFileLexerSetToken(cmListFileLexer* lexer, const char* text,
- int length)
+static void cmListFileLexerSetToken(cmListFileLexer* lexer, const char* text,
+ int length)
{
/* Set the token line and column number. */
lexer->token.line = lexer->line;
@@ -206,8 +206,8 @@ void cmListFileLexerSetToken(cmListFileLexer* lexer, const char* text,
}
/*--------------------------------------------------------------------------*/
-void cmListFileLexerAppend(cmListFileLexer* lexer, const char* text,
- int length)
+static void cmListFileLexerAppend(cmListFileLexer* lexer, const char* text,
+ int length)
{
char* temp;
int newSize;