e_keyrouter: make a function be static 29/321729/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 26 Mar 2025 00:30:59 +0000 (09:30 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 27 Mar 2025 10:03:34 +0000 (19:03 +0900)
make e_keyrouter_query_tizen_key_table() be static function

Change-Id: I750653859349f314a4d47c23aa78a240327c5249

src/bin/inputmgr/e_keyrouter.c
src/bin/inputmgr/e_keyrouter_intern.h

index 9c9831db161e5d3e137cc9a052f9004794fb070f..fd6ab6514a387df56cdfdc30b0a6051e2f1c45c0 100644 (file)
@@ -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
index 4c520e00cf447a0013935d6510e0df88deb7a050..26ae6591b68e6557dfd69aebbd7998b4b807e110 100644 (file)
@@ -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);