Make cpp reset function static

This commit is contained in:
Mike Long
2011-03-22 20:16:22 +01:00
parent c1d80c74a5
commit 0631d2efc8

View File

@@ -40,7 +40,7 @@ def output_cpp_reset_code
#include <vector>
typedef void (*void_fptr)();
std::vector<void_fptr> reset_functions;
void RESET_FAKES()
static void RESET_FAKES()
{
std::vector<void_fptr>::iterator it = reset_functions.begin();
for( ; it != reset_functions.end(); ++it)