Turn function static
This commit is contained in:
parent
cedf3dfe8e
commit
12cc7b3213
15
dynamic.h
15
dynamic.h
|
@ -26,21 +26,6 @@
|
||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
RETRO_BEGIN_DECLS
|
||||||
|
|
||||||
/**
|
|
||||||
* libretro_get_system_info:
|
|
||||||
* @path : Path to libretro library.
|
|
||||||
* @info : System info information.
|
|
||||||
* @load_no_content : If true, core should be able to auto-start
|
|
||||||
* without any content loaded.
|
|
||||||
*
|
|
||||||
* Gets system info from an arbitrary lib.
|
|
||||||
* The struct returned must be freed as strings are allocated dynamically.
|
|
||||||
*
|
|
||||||
* Returns: true (1) if successful, otherwise false (0).
|
|
||||||
**/
|
|
||||||
bool libretro_get_system_info(const char *path,
|
|
||||||
struct retro_system_info *info, bool *load_no_content);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* libretro_free_system_info:
|
* libretro_free_system_info:
|
||||||
* @info : Pointer to system info information.
|
* @info : Pointer to system info information.
|
||||||
|
|
|
@ -3580,6 +3580,9 @@ static void retroarch_system_info_free(void)
|
||||||
memset(&runloop_system, 0, sizeof(rarch_system_info_t));
|
memset(&runloop_system, 0, sizeof(rarch_system_info_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool libretro_get_system_info(const char *path,
|
||||||
|
struct retro_system_info *info, bool *load_no_content);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* command_event:
|
* command_event:
|
||||||
* @cmd : Event command index.
|
* @cmd : Event command index.
|
||||||
|
@ -7502,7 +7505,7 @@ static dylib_t libretro_get_system_info_lib(const char *path,
|
||||||
*
|
*
|
||||||
* Returns: true (1) if successful, otherwise false (0).
|
* Returns: true (1) if successful, otherwise false (0).
|
||||||
**/
|
**/
|
||||||
bool libretro_get_system_info(const char *path,
|
static bool libretro_get_system_info(const char *path,
|
||||||
struct retro_system_info *info, bool *load_no_content)
|
struct retro_system_info *info, bool *load_no_content)
|
||||||
{
|
{
|
||||||
struct retro_system_info dummy_info;
|
struct retro_system_info dummy_info;
|
||||||
|
|
Loading…
Reference in New Issue