Move INLINE earlier in function declarations
to silence a warning.
This commit is contained in:
parent
052acd4e38
commit
870d57445a
|
@ -3348,7 +3348,7 @@ static float materialui_get_scroll(materialui_handle_t *mui,
|
|||
|
||||
/* Returns true if specified entry is currently
|
||||
* displayed on screen */
|
||||
static bool INLINE materialui_entry_onscreen(
|
||||
static INLINE bool materialui_entry_onscreen(
|
||||
materialui_handle_t *mui, size_t idx)
|
||||
{
|
||||
return (idx >= mui->first_onscreen_entry)
|
||||
|
|
|
@ -7684,7 +7684,7 @@ static void ozone_set_thumbnail_content(void *data, const char *s)
|
|||
|
||||
/* Returns true if specified category is currently
|
||||
* displayed on screen */
|
||||
static bool INLINE ozone_category_onscreen(
|
||||
static INLINE bool ozone_category_onscreen(
|
||||
ozone_handle_t *ozone,
|
||||
size_t idx)
|
||||
{
|
||||
|
@ -7731,7 +7731,7 @@ static void ozone_auto_select_onscreen_entry(
|
|||
}
|
||||
}
|
||||
|
||||
static bool INLINE ozone_metadata_override_available(ozone_handle_t *ozone,
|
||||
static INLINE bool ozone_metadata_override_available(ozone_handle_t *ozone,
|
||||
unsigned menu_left_thumbnails)
|
||||
{
|
||||
/* Ugly construct...
|
||||
|
@ -7759,7 +7759,7 @@ static bool INLINE ozone_metadata_override_available(ozone_handle_t *ozone,
|
|||
(ozone->thumbnails_right_status_prev <= GFX_THUMBNAIL_STATUS_AVAILABLE)));
|
||||
}
|
||||
|
||||
static bool INLINE ozone_fullscreen_thumbnails_available(ozone_handle_t *ozone,
|
||||
static INLINE bool ozone_fullscreen_thumbnails_available(ozone_handle_t *ozone,
|
||||
struct menu_state *menu_st)
|
||||
{
|
||||
bool ret =
|
||||
|
@ -9523,7 +9523,7 @@ static void ozone_unload_thumbnail_textures(void *data)
|
|||
gfx_thumbnail_reset(&ozone->thumbnails.savestate);
|
||||
}
|
||||
|
||||
static void INLINE ozone_font_free(font_data_impl_t *font_data)
|
||||
static INLINE void ozone_font_free(font_data_impl_t *font_data)
|
||||
{
|
||||
if (font_data->font)
|
||||
font_driver_free(font_data->font);
|
||||
|
|
Loading…
Reference in New Issue