summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ui.c b/src/ui.c
index 55e522b..2042ba0 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -13,12 +13,6 @@ static struct list uil; /**< List of UIs (struct ui) */
static struct cmd_ctx *uictx;
-static void ui_handler(char key, struct re_printf *pf)
-{
- (void)cmd_process(baresip_commands(), &uictx, key, pf, NULL);
-}
-
-
static int stdout_handler(const char *p, size_t size, void *arg)
{
(void)arg;
@@ -68,7 +62,7 @@ void ui_unregister(struct ui *ui)
*/
void ui_input_key(char key, struct re_printf *pf)
{
- ui_handler(key, pf);
+ (void)cmd_process(baresip_commands(), &uictx, key, pf, NULL);
}