Skip to content
Snippets Groups Projects
Commit ed675a92 authored by Sean McBride's avatar Sean McBride Committed by Brad King
Browse files

create_test_sourcelist: Fix linkage in generated test driver code

Mark private function/global with static linkage.
parent d3f7fa22
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment