mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Turn some functions static
This commit is contained in:
parent
5472f0bcf8
commit
663c82f97a
@ -1614,6 +1614,8 @@ static char *secondary_library_path = NULL;
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
static void driver_camera_stop(void);
|
||||
static bool driver_camera_start(void);
|
||||
static retro_proc_address_t video_driver_get_proc_address(const char *sym);
|
||||
static uintptr_t video_driver_get_current_framebuffer(void);
|
||||
static bool video_driver_find_driver(void);
|
||||
@ -15417,7 +15419,7 @@ const char* config_get_camera_driver_options(void)
|
||||
return char_list_new_special(STRING_LIST_CAMERA_DRIVERS, NULL);
|
||||
}
|
||||
|
||||
bool driver_camera_start(void)
|
||||
static bool driver_camera_start(void)
|
||||
{
|
||||
if (camera_driver && camera_data && camera_driver->start)
|
||||
{
|
||||
@ -15432,7 +15434,7 @@ bool driver_camera_start(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
void driver_camera_stop(void)
|
||||
static void driver_camera_stop(void)
|
||||
{
|
||||
if ( camera_driver
|
||||
&& camera_driver->stop
|
||||
@ -15653,7 +15655,7 @@ static bool driver_find_prev(const char *label, char *s, size_t len)
|
||||
*
|
||||
* Find next driver in driver array.
|
||||
**/
|
||||
bool driver_find_next(const char *label, char *s, size_t len)
|
||||
static bool driver_find_next(const char *label, char *s, size_t len)
|
||||
{
|
||||
int i = driver_find_index(label, s);
|
||||
|
||||
|
@ -2212,10 +2212,6 @@ const void *camera_driver_find_handle(int index);
|
||||
**/
|
||||
const char *camera_driver_find_ident(int index);
|
||||
|
||||
void driver_camera_stop(void);
|
||||
|
||||
bool driver_camera_start(void);
|
||||
|
||||
void retroarch_overlay_next(void);
|
||||
|
||||
void retroarch_overlay_set_scale_factor(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user