From: SooChan Lim Date: Wed, 26 Mar 2025 00:30:59 +0000 (+0900) Subject: e_keyrouter: make a function be static X-Git-Tag: accepted/tizen/unified/20250401.113859~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13a9825b009f6769aa46d68f85cf93ee05ec9ff7;p=platform%2Fupstream%2Fenlightenment.git e_keyrouter: make a function be static make e_keyrouter_query_tizen_key_table() be static function Change-Id: I750653859349f314a4d47c23aa78a240327c5249 --- diff --git a/src/bin/inputmgr/e_keyrouter.c b/src/bin/inputmgr/e_keyrouter.c index 9c9831db16..fd6ab6514a 100644 --- a/src/bin/inputmgr/e_keyrouter.c +++ b/src/bin/inputmgr/e_keyrouter.c @@ -408,8 +408,8 @@ _e_keyrouter_deinit_handlers(void) e_info_server_hook_set("keygrab", NULL, NULL); } -EINTERN Eina_Bool -e_keyrouter_query_tizen_key_table(void) +static Eina_Bool +_e_keyrouter_query_tizen_key_table(void) { E_Keyrouter_Conf_Edd *kconf = krt->conf->conf; Eina_List *l; @@ -526,7 +526,7 @@ e_keyrouter_init(void) krt->pictureoff_disabled = !!kconfig->conf->pictureoff_disabled; /* Get keyname and keycode pair from Tizen Key Layout file */ - res = e_keyrouter_query_tizen_key_table(); + res = _e_keyrouter_query_tizen_key_table(); EINA_SAFETY_ON_FALSE_GOTO(res, err); //ecore handler add for power callback registration diff --git a/src/bin/inputmgr/e_keyrouter_intern.h b/src/bin/inputmgr/e_keyrouter_intern.h index 4c520e00cf..26ae6591b6 100644 --- a/src/bin/inputmgr/e_keyrouter_intern.h +++ b/src/bin/inputmgr/e_keyrouter_intern.h @@ -122,8 +122,6 @@ EINTERN int e_keyrouter_shutdown(void); EINTERN void e_keyrouter_input_handler_add(void); -EINTERN Eina_Bool e_keyrouter_query_tizen_key_table(void); - EINTERN int e_keyrouter_set_keygrab_in_list(struct wl_resource *surface, struct wl_client *client, uint32_t key, uint32_t mode); EINTERN int e_keyrouter_prepend_to_keylist(struct wl_resource *surface, struct wl_client *wc, uint32_t key, uint32_t mode, Eina_Bool focused); EINTERN void e_keyrouter_remove_surface_from_list(struct wl_resource *surface);