lib: move igt_interactive_debug into igt_core.c

igt_interactive_debug should be defined in igt_core.c, rather than the
header, to avoid it being defined more than once.

Reported-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood 2015-03-12 14:59:20 +00:00
parent dde047fe2c
commit a6c40c7665
2 changed files with 2 additions and 1 deletions

View File

@ -209,6 +209,7 @@
*/
static unsigned int exit_handler_count;
const char *igt_interactive_debug;
/* subtests helpers */
static bool list_subtests = false;

View File

@ -557,7 +557,7 @@ bool igt_run_in_simulation(void);
void igt_skip_on_simulation(void);
const char *igt_interactive_debug;
extern const char *igt_interactive_debug;
/* structured logging */
enum igt_log_level {