Header include cleanups

This commit is contained in:
twinaphex 2019-01-20 02:26:33 +01:00
parent 0083e10926
commit 4f53e14f4f
4 changed files with 5 additions and 5 deletions

View File

@ -496,8 +496,9 @@ bool libretro_get_system_info(const char *path,
* Setup libretro callback symbols. Returns true on success,
* or false if symbols could not be loaded.
**/
bool init_libretro_sym_custom(enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, dylib_t *lib_handle_p)
bool init_libretro_sym_custom(enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, void *_lib_handle_p)
{
dylib_t *lib_handle_p = (dylib_t*)_lib_handle_p;
#ifdef HAVE_DYNAMIC
/* the library handle for use with the SYMBOL macro */
dylib_t lib_handle_local;

View File

@ -20,7 +20,6 @@
#include <boolean.h>
#include <retro_common_api.h>
#include <libretro.h>
#include <dynamic/dylib.h>
#include "core_type.h"
@ -133,7 +132,7 @@ bool libretro_get_shared_context(void);
bool init_libretro_sym(enum rarch_core_type type,
struct retro_core_t *core);
bool init_libretro_sym_custom(enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, dylib_t *lib_handle_p);
bool init_libretro_sym_custom(enum rarch_core_type type, struct retro_core_t *current_core, const char *lib_path, void *lib_handle_p);
/**
* uninit_libretro_sym:

View File

@ -1,6 +1,7 @@
#include <stdlib.h>
#include <boolean.h>
#include <dynamic/dylib.h>
#include "../core.h"
#include "../dynamic.h"
@ -98,9 +99,7 @@ static void input_state_set_last(unsigned port, unsigned device,
)
{
if (id >= element->state_size)
{
InputListElementExpand(element, id);
}
element->state[id] = value;
return;
}

View File

@ -4,6 +4,7 @@
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <dynamic/dylib.h>
RETRO_BEGIN_DECLS