summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-26 12:59:50 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-26 13:35:07 -0300
commit28bc8919258c10453bf29c1839f4c0a584f764bb (patch)
tree7b747e6a83a24cfa627d7f9223d04c13fc7e492d /src/tests
parent054a9c8182a7823b52a0a4381db155b8b4842cc6 (diff)
eina: Fix new prototype for then cb in test
Added Eina_Promise* parameter to function prototypes
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eina/eina_test_promise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eina/eina_test_promise.c b/src/tests/eina/eina_test_promise.c
index cc7aa88ea2..f8b355bf33 100644
--- a/src/tests/eina/eina_test_promise.c
+++ b/src/tests/eina/eina_test_promise.c
@@ -178,7 +178,7 @@ static void cancel_callback(void* data, Eina_Promise_Owner* promise EINA_UNUSED)
178 *(Eina_Bool*)data = EINA_TRUE; 178 *(Eina_Bool*)data = EINA_TRUE;
179} 179}
180 180
181static void _cancel_promise_callback(void* data EINA_UNUSED, Eina_Error error, Eina_Promise* promise EINA_UNUSED) 181static void _cancel_promise_callback(void* data EINA_UNUSED, Eina_Error error EINA_UNUSED, Eina_Promise* promise EINA_UNUSED)
182{ 182{
183 *(Eina_Bool*)data = EINA_TRUE; 183 *(Eina_Bool*)data = EINA_TRUE;
184} 184}
@@ -206,7 +206,7 @@ START_TEST(eina_test_promise_cancel_promise)
206} 206}
207END_TEST 207END_TEST
208 208
209void progress_callback(void* data, void* value, Eina_Promise* promise EINA_UNUSED) 209void progress_callback(void* data, void* value)
210{ 210{
211 int* i = value; 211 int* i = value;
212 ck_assert(*i == 1); 212 ck_assert(*i == 1);