Turn function static

This commit is contained in:
twinaphex 2019-07-22 19:10:27 +02:00
parent cedf3dfe8e
commit 12cc7b3213
2 changed files with 4 additions and 16 deletions

View File

@ -26,21 +26,6 @@
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:
* @info : Pointer to system info information.

View File

@ -3580,6 +3580,9 @@ static void retroarch_system_info_free(void)
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:
* @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).
**/
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 dummy_info;