create_test_sourcelist: Fix linkage in generated test driver code
Mark private function/global with static linkage.
This commit is contained in:
parent
d3f7fa22ed
commit
ed675a92a1
|
@ -18,7 +18,7 @@ typedef struct
|
||||||
MainFuncPointer func;
|
MainFuncPointer func;
|
||||||
} functionMapEntry;
|
} functionMapEntry;
|
||||||
|
|
||||||
functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
|
static functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
|
||||||
@CMAKE_FUNCTION_TABLE_ENTIRES@
|
@CMAKE_FUNCTION_TABLE_ENTIRES@
|
||||||
{0,0}
|
{0,0}
|
||||||
};
|
};
|
||||||
|
@ -26,7 +26,7 @@ functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
|
||||||
/* Allocate and create a lowercased copy of string
|
/* Allocate and create a lowercased copy of string
|
||||||
(note that it has to be free'd manually) */
|
(note that it has to be free'd manually) */
|
||||||
|
|
||||||
char* lowercase(const char *string)
|
static char* lowercase(const char *string)
|
||||||
{
|
{
|
||||||
char *new_string, *p;
|
char *new_string, *p;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue