Get rid of INLINE qualifier for some functions

This commit is contained in:
twinaphex 2015-11-30 05:13:12 +01:00
parent 263e1a335d
commit 5d52f4856a
5 changed files with 6 additions and 7 deletions

View File

@ -63,7 +63,7 @@ static int g_cpuCount;
#endif
#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;
/* We need to preserve ebx since we're compiling PIC code */

View File

@ -31,14 +31,14 @@
cbs->action_get_title_ident = #name;
#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;
while((pos = strchr(str, c1)))
*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};

View File

@ -61,7 +61,7 @@ typedef struct
unsigned last_height;
} 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 r = ((col >> 16) & 0xff) >> 4;

View File

@ -154,8 +154,7 @@ menu_file_list_cbs_t *menu_entries_get_actiondata_at_offset(
file_list_get_actiondata_at_offset(list, idx);
}
static INLINE int menu_entries_flush_stack_type(
const char *needle, const char *label,
static int menu_entries_flush_stack_type(const char *needle, const char *label,
unsigned type, unsigned final_type)
{
return needle ? strcmp(needle, label) : (type != final_type);

View File

@ -115,7 +115,7 @@ typedef struct
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};
struct video_shader* shader = video_shader_driver_get_current_shader();