From e709f7c9e07b54542f368297272b0fca36304300 Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Thu, 13 Oct 2016 11:26:29 +0100 Subject: [PATCH] Fix global variable shadowing --- tests/suites/helpers.function | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function index ff3ab99e4..63815df85 100644 --- a/tests/suites/helpers.function +++ b/tests/suites/helpers.function @@ -141,9 +141,9 @@ static int restore_output( FILE** out_stream, int old_fd ) return 0; } -static void close_output( FILE* stdout ) +static void close_output( FILE* out_stream ) { - fclose( stdout ); + fclose( out_stream ); } #endif /* __unix__ || __APPLE__ __MACH__ */