From a3a3e0fce5f39207fb16c1de0ff2258981d25bab Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 5 Sep 2017 14:36:08 +0200 Subject: lib: prefix frame_dump_path Just a bit of ocd for anything non-static. Acked-by: Jani Nikula Acked-by: Arkadiusz Hiler Acked-by: Petri Latvala Acked-by: Daniel Stone Acked-by: Radoslaw Szwichtenberg Signed-off-by: Daniel Vetter --- lib/igt_core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/igt_core.c') diff --git a/lib/igt_core.c b/lib/igt_core.c index ff6d19fc..9f4ee68b 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -295,7 +295,7 @@ static pthread_mutex_t log_buffer_mutex = PTHREAD_MUTEX_INITIALIZER; GKeyFile *igt_key_file; #endif -char *frame_dump_path; +char *igt_frame_dump_path; const char *igt_test_name(void) { @@ -650,10 +650,10 @@ static void common_init_config(void) g_clear_error(&error); - if (!frame_dump_path) - frame_dump_path = g_key_file_get_string(igt_key_file, "Common", - "FrameDumpPath", - &error); + if (!igt_frame_dump_path) + igt_frame_dump_path = + g_key_file_get_string(igt_key_file, "Common", + "FrameDumpPath", &error); g_clear_error(&error); @@ -694,7 +694,7 @@ static void common_init_env(void) igt_log_level = IGT_LOG_NONE; } - frame_dump_path = getenv("IGT_FRAME_DUMP_PATH"); + igt_frame_dump_path = getenv("IGT_FRAME_DUMP_PATH"); } static int common_init(int *argc, char **argv, -- cgit v1.2.3