mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-19 15:28:25 +00:00
Turn rarch_environment_cb into static function
This commit is contained in:
parent
12cc7b3213
commit
36a48cd7f9
12
dynamic.h
12
dynamic.h
@ -53,18 +53,6 @@ const struct retro_controller_description *
|
||||
libretro_find_controller_description(
|
||||
const struct retro_controller_info *info, unsigned id);
|
||||
|
||||
/**
|
||||
* rarch_environment_cb:
|
||||
* @cmd : Identifier of command.
|
||||
* @data : Pointer to data.
|
||||
*
|
||||
* Environment callback function implementation.
|
||||
*
|
||||
* Returns: true (1) if environment callback command could
|
||||
* be performed, otherwise false (0).
|
||||
**/
|
||||
bool rarch_environment_cb(unsigned cmd, void *data);
|
||||
|
||||
struct retro_core_t
|
||||
{
|
||||
void (*retro_init)(void);
|
||||
|
@ -1634,6 +1634,7 @@ static char *secondary_library_path = NULL;
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
static bool rarch_environment_cb(unsigned cmd, void *data);
|
||||
static bool driver_location_get_position(double *lat, double *lon,
|
||||
double *horiz_accuracy, double *vert_accuracy);
|
||||
static void driver_location_set_interval(unsigned interval_msecs,
|
||||
@ -6405,7 +6406,7 @@ static bool rarch_clear_all_thread_waits(unsigned clear_threads, void *data)
|
||||
* Returns: true (1) if environment callback command could
|
||||
* be performed, otherwise false (0).
|
||||
**/
|
||||
bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
static bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
{
|
||||
unsigned p;
|
||||
settings_t *settings = configuration_settings;
|
||||
|
Loading…
x
Reference in New Issue
Block a user