Make some functions static

This commit is contained in:
twinaphex 2016-03-23 06:53:19 +01:00
parent 8f7f40b86c
commit 76d06c89ca
2 changed files with 2 additions and 24 deletions

View File

@ -63,7 +63,7 @@ static void input_keyboard_line_toggle_osk(bool enable)
* *
* Frees input keyboard line handle. * 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) if (!state)
return; return;
@ -85,7 +85,7 @@ void input_keyboard_line_free(input_keyboard_line_t *state)
* *
* Returns: keyboard handle on success, otherwise NULL. * 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_complete_t cb)
{ {
input_keyboard_line_t *state = (input_keyboard_line_t*) input_keyboard_line_t *state = (input_keyboard_line_t*)

View File

@ -65,20 +65,6 @@ typedef struct input_keyboard_ctx_wait
} input_keyboard_ctx_wait_t; } 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: * input_keyboard_line_event:
* @state : Input keyboard line handle. * @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 char **input_keyboard_line_get_buffer(
const input_keyboard_line_t *state); 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: * input_keyboard_event:
* @down : Keycode was pressed down? * @down : Keycode was pressed down?