summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-12-15 02:44:39 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-12-15 14:16:53 +0900
commit4d7d5913ddbfbe0b9ac0e56d29dba50332c3dc91 (patch)
treef393987bc5a6a37afa465145c3908d1f81935ad2
parent3a703dbf4aebc003ac0dabe28a40022e63c5f96c (diff)
tests - ecore suite - dont shadow a global var - use different one
-rw-r--r--src/tests/ecore/ecore_test_ecore.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/ecore/ecore_test_ecore.c b/src/tests/ecore/ecore_test_ecore.c
index 810e517bf1..dec46c8f5a 100644
--- a/src/tests/ecore/ecore_test_ecore.c
+++ b/src/tests/ecore/ecore_test_ecore.c
@@ -465,8 +465,8 @@ _event_free(void *user_data, void *func_data)
465static void* 465static void*
466_filter_start(void *data) 466_filter_start(void *data)
467{ 467{
468 int *did = data; 468 int *fdid = data;
469 (*did)++; 469 (*fdid)++;
470 return NULL; 470 return NULL;
471} 471}
472 472
@@ -474,7 +474,7 @@ static Eina_Bool
474_filter(void *data, void *loop_data EINA_UNUSED, int type EINA_UNUSED, void *event) 474_filter(void *data, void *loop_data EINA_UNUSED, int type EINA_UNUSED, void *event)
475{ 475{
476 Eina_Bool res = EINA_TRUE; 476 Eina_Bool res = EINA_TRUE;
477 int *did = data; 477 int *fdid = data;
478 int *ev = event; 478 int *ev = event;
479 479
480 if (NULL != event) 480 if (NULL != event)
@@ -486,7 +486,7 @@ _filter(void *data, void *loop_data EINA_UNUSED, int type EINA_UNUSED, void *eve
486 } 486 }
487 } 487 }
488 488
489 (*did)++; 489 (*fdid)++;
490 490
491 return res; 491 return res;
492} 492}
@@ -494,8 +494,8 @@ _filter(void *data, void *loop_data EINA_UNUSED, int type EINA_UNUSED, void *eve
494static void 494static void
495_filter_end(void *user_data, void *func_data EINA_UNUSED) 495_filter_end(void *user_data, void *func_data EINA_UNUSED)
496{ 496{
497 int *did = user_data; 497 int *fdid = user_data;
498 (*did)++; 498 (*fdid)++;
499} 499}
500 500
501START_TEST(ecore_test_ecore_main_loop_event) 501START_TEST(ecore_test_ecore_main_loop_event)