diff --git a/gfx/widgets/gfx_widget_screenshot.c b/gfx/widgets/gfx_widget_screenshot.c index 731cd0a781..0a7349264e 100644 --- a/gfx/widgets/gfx_widget_screenshot.c +++ b/gfx/widgets/gfx_widget_screenshot.c @@ -47,7 +47,7 @@ struct gfx_widget_screenshot_state typedef struct gfx_widget_screenshot_state gfx_widget_screenshot_state_t; -static gfx_widget_screenshot_state_t p_state = { +static gfx_widget_screenshot_state_t p_w_screenshot_st = { 0.0f, 0, 0, @@ -69,7 +69,7 @@ static gfx_widget_screenshot_state_t p_state = { static gfx_widget_screenshot_state_t* gfx_widget_screenshot_get_ptr(void) { - return &p_state; + return &p_w_screenshot_st; } static void gfx_widget_screenshot_fadeout(void *userdata) diff --git a/gfx/widgets/gfx_widget_volume.c b/gfx/widgets/gfx_widget_volume.c index 87fef611f4..3c6eeac6d9 100644 --- a/gfx/widgets/gfx_widget_volume.c +++ b/gfx/widgets/gfx_widget_volume.c @@ -65,14 +65,14 @@ struct gfx_widget_volume_state typedef struct gfx_widget_volume_state gfx_widget_volume_state_t; -static gfx_widget_volume_state_t p_state = { +static gfx_widget_volume_state_t p_w_volume_st = { 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, - (uintptr_t) &p_state, + (uintptr_t) &p_w_volume_st, false, 0, @@ -88,7 +88,7 @@ static gfx_widget_volume_state_t p_state = { gfx_widget_volume_state_t* gfx_widget_volume_get_ptr(void) { - return &p_state; + return &p_w_volume_st; } static void gfx_widget_volume_frame(void* data)