mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Get rid of INLINE qualifier for some functions
This commit is contained in:
parent
263e1a335d
commit
5d52f4856a
@ -63,7 +63,7 @@ static int g_cpuCount;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __i386__
|
#ifdef __i386__
|
||||||
static INLINE void cpu_x86_cpuid(int func, int values[4])
|
static void cpu_x86_cpuid(int func, int values[4])
|
||||||
{
|
{
|
||||||
int a, b, c, d;
|
int a, b, c, d;
|
||||||
/* We need to preserve ebx since we're compiling PIC code */
|
/* We need to preserve ebx since we're compiling PIC code */
|
||||||
|
@ -31,14 +31,14 @@
|
|||||||
cbs->action_get_title_ident = #name;
|
cbs->action_get_title_ident = #name;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static INLINE void replace_chars(char *str, char c1, char c2)
|
static void replace_chars(char *str, char c1, char c2)
|
||||||
{
|
{
|
||||||
char *pos = NULL;
|
char *pos = NULL;
|
||||||
while((pos = strchr(str, c1)))
|
while((pos = strchr(str, c1)))
|
||||||
*pos = c2;
|
*pos = c2;
|
||||||
}
|
}
|
||||||
|
|
||||||
static INLINE void sanitize_to_string(char *s, const char *label, size_t len)
|
static void sanitize_to_string(char *s, const char *label, size_t len)
|
||||||
{
|
{
|
||||||
char new_label[PATH_MAX_LENGTH] = {0};
|
char new_label[PATH_MAX_LENGTH] = {0};
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ typedef struct
|
|||||||
unsigned last_height;
|
unsigned last_height;
|
||||||
} rgui_t;
|
} rgui_t;
|
||||||
|
|
||||||
static INLINE uint16_t argb32_to_rgba4444(uint32_t col)
|
static uint16_t argb32_to_rgba4444(uint32_t col)
|
||||||
{
|
{
|
||||||
unsigned a = ((col >> 24) & 0xff) >> 4;
|
unsigned a = ((col >> 24) & 0xff) >> 4;
|
||||||
unsigned r = ((col >> 16) & 0xff) >> 4;
|
unsigned r = ((col >> 16) & 0xff) >> 4;
|
||||||
|
@ -154,8 +154,7 @@ menu_file_list_cbs_t *menu_entries_get_actiondata_at_offset(
|
|||||||
file_list_get_actiondata_at_offset(list, idx);
|
file_list_get_actiondata_at_offset(list, idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
static INLINE int menu_entries_flush_stack_type(
|
static int menu_entries_flush_stack_type(const char *needle, const char *label,
|
||||||
const char *needle, const char *label,
|
|
||||||
unsigned type, unsigned final_type)
|
unsigned type, unsigned final_type)
|
||||||
{
|
{
|
||||||
return needle ? strcmp(needle, label) : (type != final_type);
|
return needle ? strcmp(needle, label) : (type != final_type);
|
||||||
|
@ -115,7 +115,7 @@ typedef struct
|
|||||||
|
|
||||||
static shader_dlg_t g_shader_dlg = {0};
|
static shader_dlg_t g_shader_dlg = {0};
|
||||||
|
|
||||||
static INLINE void shader_dlg_refresh_trackbar_label(int index)
|
static void shader_dlg_refresh_trackbar_label(int index)
|
||||||
{
|
{
|
||||||
char val_buffer[32] = {0};
|
char val_buffer[32] = {0};
|
||||||
struct video_shader* shader = video_shader_driver_get_current_shader();
|
struct video_shader* shader = video_shader_driver_get_current_shader();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user