diff --git a/fakegen.rb b/fakegen.rb index 01ebd80..1fe8869 100644 --- a/fakegen.rb +++ b/fakegen.rb @@ -40,7 +40,7 @@ def output_cpp_reset_code #include typedef void (*void_fptr)(); std::vector reset_functions; -void RESET_FAKES() +static void RESET_FAKES() { std::vector::iterator it = reset_functions.begin(); for( ; it != reset_functions.end(); ++it)