mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
Turn variable const
This commit is contained in:
parent
f066b944e8
commit
e3972aff31
@ -93,7 +93,7 @@ typedef struct
|
||||
} gfx_thumbnail_shadow_t;
|
||||
|
||||
/* Structure containing all gfx_thumbnail
|
||||
* global variables */
|
||||
* variables */
|
||||
struct gfx_thumbnail_state
|
||||
{
|
||||
/* Due to the asynchronous nature of thumbnail
|
||||
|
@ -480,8 +480,8 @@ ozone_theme_t *ozone_themes[] = {
|
||||
|
||||
};
|
||||
|
||||
const unsigned ozone_themes_count = sizeof(ozone_themes) / sizeof(ozone_themes[0]);
|
||||
/* TODO/FIXME - global variables referenced outside */
|
||||
unsigned ozone_themes_count = sizeof(ozone_themes) / sizeof(ozone_themes[0]);
|
||||
unsigned last_color_theme = 0;
|
||||
bool last_use_preferred_system_color_theme = false;
|
||||
ozone_theme_t *ozone_default_theme = &ozone_theme_dark; /* also used as a tag for cursor animation */
|
||||
|
@ -68,7 +68,7 @@ extern ozone_theme_t ozone_theme_twilight_zone;
|
||||
extern ozone_theme_t *ozone_themes[];
|
||||
|
||||
/* TODO/FIXME - global variables referenced outside */
|
||||
extern unsigned ozone_themes_count;
|
||||
extern const unsigned ozone_themes_count;
|
||||
extern unsigned last_color_theme;
|
||||
extern bool last_use_preferred_system_color_theme;
|
||||
extern ozone_theme_t *ozone_default_theme;
|
||||
|
Loading…
Reference in New Issue
Block a user