e_comp_screen: make the functions be EINTERN 35/209735/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 10 Jul 2019 09:53:37 +0000 (18:53 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 10 Jul 2019 09:53:37 +0000 (18:53 +0900)
The functions make the internal ones which is not used at the e20 modules.

Change-Id: I8ee7e28357ccb2629cb7f627b991259514c9aed4

src/bin/e_comp_screen.c
src/bin/e_comp_screen.h

index 0c527e3..6d7a659 100644 (file)
@@ -15,7 +15,7 @@ static Eina_List *event_handlers = NULL;
 static Eina_Bool dont_set_e_input_keymap = EINA_FALSE;
 static Eina_Bool dont_use_xkb_cache = EINA_FALSE;
 
-E_API int              E_EVENT_SCREEN_CHANGE = 0;
+EINTERN int E_EVENT_SCREEN_CHANGE = 0;
 
 enum
 {
@@ -1094,7 +1094,7 @@ e_comp_screen_e_screens_get(E_Comp_Screen *e_comp_screen)
    return e_comp_screen->e_screens;
 }
 
-E_API Eina_Bool
+EINTERN Eina_Bool
 e_comp_screen_init()
 {
    E_Comp *comp;
@@ -1224,7 +1224,7 @@ failed_comp_screen:
    return EINA_FALSE;
 }
 
-E_API void
+EINTERN void
 e_comp_screen_shutdown()
 {
    if (!e_comp) return;
@@ -1339,7 +1339,7 @@ _e_comp_screen_rotation_pre_setter(E_Comp_Screen *e_comp_screen, int rotation_pr
    INF("EE RotationPre: %d", rotation_pre);
 }
 
-E_API Eina_Bool
+EINTERN Eina_Bool
 e_comp_screen_rotation_pre_set(E_Comp_Screen *e_comp_screen, int rotation_pre)
 {
    int screen_rotation;
index 3d74afb..821cce2 100644 (file)
@@ -47,15 +47,15 @@ struct _E_Screen
    char *id; // this is the same id we get from _E_Output so look it up there
 };
 
-extern E_API int E_EVENT_SCREEN_CHANGE;
+extern EINTERN int E_EVENT_SCREEN_CHANGE;
 
-E_API   Eina_Bool         e_comp_screen_init(void);
-E_API   void              e_comp_screen_shutdown(void);
+EINTERN Eina_Bool         e_comp_screen_init(void);
+EINTERN void              e_comp_screen_shutdown(void);
 EINTERN void              e_comp_screen_hwc_info_debug(void);
 
 EINTERN void              e_comp_screen_e_screens_setup(E_Comp_Screen *e_comp_screen, int rw, int rh);
 EINTERN const Eina_List * e_comp_screen_e_screens_get(E_Comp_Screen *e_comp_screen);
-E_API   Eina_Bool         e_comp_screen_rotation_pre_set(E_Comp_Screen *e_comp_screen, int rotation_pre);
+EINTERN Eina_Bool         e_comp_screen_rotation_pre_set(E_Comp_Screen *e_comp_screen, int rotation_pre);
 E_API   Eina_Bool         e_comp_screen_rotation_setting_set(E_Comp_Screen *e_comp_screen, int rotation);
 
 E_API   void              e_comp_screen_rotation_ignore_output_transform_send(E_Client *ec, Eina_Bool ignore);