diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-09-05 14:36:08 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-09-08 17:05:15 +0200 |
commit | a3a3e0fce5f39207fb16c1de0ff2258981d25bab (patch) | |
tree | a161c8bdb175df5e3b9f1a695776ddddd8b4a3a7 /lib/igt_core.c | |
parent | 16ea5eec38c062429dd847a679fc1e6db007d7f8 (diff) |
lib: prefix frame_dump_path
Just a bit of ocd for anything non-static.
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Acked-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_core.c')
-rw-r--r-- | lib/igt_core.c | 12 |
1 files changed, 6 insertions, 6 deletions
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, |