From c0431b34c91e8747009182650d5808831c2f097e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 May 2017 14:31:07 +0200 Subject: [PATCH] Turn some variables static --- gfx/video_driver.c | 4 ++-- gfx/video_driver.h | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index daa2766984..aa2cddb153 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -205,9 +205,9 @@ static slock_t *display_lock = NULL; static slock_t *context_lock = NULL; #endif -gfx_ctx_driver_t current_video_context; +static gfx_ctx_driver_t current_video_context; -void *video_context_data = NULL; +static void *video_context_data = NULL; shader_backend_t *current_shader = NULL; void *shader_data = NULL; diff --git a/gfx/video_driver.h b/gfx/video_driver.h index ea0d3f104c..2109b44cb0 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -1184,10 +1184,6 @@ bool video_context_driver_input_driver(gfx_ctx_input_t *inp); void video_context_driver_free(void); -extern gfx_ctx_driver_t current_video_context; - -extern void *video_context_data; - bool video_shader_driver_get_prev_textures(video_shader_ctx_texture_t *texture); bool video_shader_driver_get_ident(video_shader_ctx_ident_t *ident);