jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/tools/exactness.git/commit/?id=66347ba6a729f3a7ca57559898d876a2f4a9b07e

commit 66347ba6a729f3a7ca57559898d876a2f4a9b07e
Author: Daniel Zaoui <[email protected]>
Date:   Sun Oct 9 07:38:07 2016 +0300

    Modify internal functions scope.
    
    These functions were declared as EAPI when they were only used
    internally.
---
 src/lib/tsuite_evas_hook.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/lib/tsuite_evas_hook.c b/src/lib/tsuite_evas_hook.c
index ae0e467..4aa4525 100644
--- a/src/lib/tsuite_evas_hook.c
+++ b/src/lib/tsuite_evas_hook.c
@@ -229,8 +229,8 @@ evt_time_get(unsigned int tm, Variant_st *v)
      }
 }
 
-EAPI void
-tsuite_evas_hook_init(void)
+static void
+_evas_hook_init(void)
 {  /* Pointer taken from tsuite.c */
    shot_key = getenv("TSUITE_SHOT_KEY");
    if (!shot_key) shot_key = SHOT_KEY_STR;
@@ -247,8 +247,8 @@ tsuite_evas_hook_init(void)
      }
 }
 
-EAPI void
-tsuite_evas_hook_reset(void)
+static void
+_evas_hook_reset(void)
 {  /* tsuite.c informs us that vr_list is no longer valid */
    if (vr_list)
      vr_list = free_events(vr_list, _hook_setting->recording);
@@ -264,8 +264,8 @@ tsuite_evas_hook_reset(void)
  *
  * @ingroup Tsuite
  */
-void
-tsuite_shot_do(char *name, Evas *e)
+static void
+_shot_do(char *name, Evas *e)
 {
    if (!e)
      return;
@@ -370,7 +370,7 @@ ecore_init(void)
    if (initing)
      {
         if (_hook_setting->recording)
-          tsuite_evas_hook_init();
+           _evas_hook_init();
      }
 
    return ret;
@@ -391,7 +391,7 @@ ecore_shutdown(void)
              if (vr_list && _hook_setting->recording)
                write_events(_hook_setting->file_name, vr_list);
 
-             tsuite_evas_hook_reset();
+             _evas_hook_reset();
 
              free(_hook_setting);
              _hook_setting = NULL;
@@ -817,7 +817,7 @@ tsuite_feed_event(void *data)
               printf("%s take shot  timestamp=<%u> t->n_evas=<%d>\n", 
__func__, t->timestamp, t->n_evas);
 #endif
               if (rect) evas_object_color_set(rect, 0, 0, 255, 255);
-              tsuite_shot_do(NULL,
+              _shot_do(NULL,
                     eina_list_nth(evas_list, t->n_evas)); /* Serial name based 
on test-name */
               break;
            }

-- 


Reply via email to