Fix C11 typedef redefinition issues

This commit is contained in:
Twinaphex 2018-03-29 18:10:12 +02:00
parent e85f11ea38
commit 2db0c21f52
3 changed files with 2 additions and 7 deletions

View File

@ -19,8 +19,7 @@ typedef struct InputListElement_t
int16_t state[36];
} InputListElement;
typedef struct retro_core_t _retro_core_t;
extern _retro_core_t current_core;
extern struct retro_core_t current_core;
extern struct retro_callbacks retro_ctx;
typedef bool(*LoadStateFunction)(const void*, size_t);

View File

@ -173,7 +173,6 @@ static void runahead_clear_variables(void)
static void runahead_check_for_gui(void)
{
/* Hack: If we were in the GUI, force a resync. */
bool is_dirty = false;
bool is_alive, is_focused = false;
uint64_t frame_count = 0;

View File

@ -24,12 +24,9 @@
static int port_map[16];
typedef struct retro_core_t _retro_core_t;
typedef struct retro_callbacks retro_callbacks_t;
static char *secondary_library_path;
static dylib_t secondary_module;
static _retro_core_t secondary_core;
static struct retro_core_t secondary_core;
static struct retro_callbacks secondary_callbacks;
extern retro_ctx_load_content_info_t *load_content_info;