Merge topic 'create_test_sourcelist-clang-warnings'

ed675a9 create_test_sourcelist: Fix linkage in generated test driver code
This commit is contained in:
Brad King 2013-11-13 09:57:49 -05:00 committed by CMake Topic Stage
commit 85b91039c2
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ typedef struct
MainFuncPointer func;
} functionMapEntry;
functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
static functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
@CMAKE_FUNCTION_TABLE_ENTIRES@
{0,0}
};
@ -26,7 +26,7 @@ functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
/* Allocate and create a lowercased copy of string
(note that it has to be free'd manually) */
char* lowercase(const char *string)
static char* lowercase(const char *string)
{
char *new_string, *p;