Modify internal functions scope.

These functions were declared as EAPI when they were only used
internally.
This commit is contained in:
Daniel Zaoui 2016-10-09 07:38:07 +03:00
parent 389c05bb5c
commit 66347ba6a7
1 changed files with 9 additions and 9 deletions

View File

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