mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Make some functions static
This commit is contained in:
parent
8f7f40b86c
commit
76d06c89ca
@ -63,7 +63,7 @@ static void input_keyboard_line_toggle_osk(bool enable)
|
||||
*
|
||||
* Frees input keyboard line handle.
|
||||
**/
|
||||
void input_keyboard_line_free(input_keyboard_line_t *state)
|
||||
static void input_keyboard_line_free(input_keyboard_line_t *state)
|
||||
{
|
||||
if (!state)
|
||||
return;
|
||||
@ -85,7 +85,7 @@ void input_keyboard_line_free(input_keyboard_line_t *state)
|
||||
*
|
||||
* Returns: keyboard handle on success, otherwise NULL.
|
||||
**/
|
||||
input_keyboard_line_t *input_keyboard_line_new(void *userdata,
|
||||
static input_keyboard_line_t *input_keyboard_line_new(void *userdata,
|
||||
input_keyboard_line_complete_t cb)
|
||||
{
|
||||
input_keyboard_line_t *state = (input_keyboard_line_t*)
|
||||
|
@ -65,20 +65,6 @@ typedef struct input_keyboard_ctx_wait
|
||||
} input_keyboard_ctx_wait_t;
|
||||
|
||||
|
||||
/**
|
||||
* input_keyboard_line_new:
|
||||
* @userdata : Userdata.
|
||||
* @cb : Callback function.
|
||||
*
|
||||
* Creates and initializes input keyboard line handle.
|
||||
* Also sets callback function for keyboard line handle
|
||||
* to provided callback @cb.
|
||||
*
|
||||
* Returns: keyboard handle on success, otherwise NULL.
|
||||
**/
|
||||
input_keyboard_line_t *input_keyboard_line_new(void *userdata,
|
||||
input_keyboard_line_complete_t cb);
|
||||
|
||||
/**
|
||||
* input_keyboard_line_event:
|
||||
* @state : Input keyboard line handle.
|
||||
@ -106,14 +92,6 @@ bool input_keyboard_line_event(input_keyboard_line_t *state,
|
||||
const char **input_keyboard_line_get_buffer(
|
||||
const input_keyboard_line_t *state);
|
||||
|
||||
/**
|
||||
* input_keyboard_line_free:
|
||||
* @state : Input keyboard line handle.
|
||||
*
|
||||
* Frees input keyboard line handle.
|
||||
**/
|
||||
void input_keyboard_line_free(input_keyboard_line_t *state);
|
||||
|
||||
/**
|
||||
* input_keyboard_event:
|
||||
* @down : Keycode was pressed down?
|
||||
|
Loading…
x
Reference in New Issue
Block a user