summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-03 18:34:42 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-03 18:37:21 -0300
commite98c57d9d414c654c2e90cad19ec791d02374448 (patch)
treedcf5861f2e69fdff80e2c91518846aa96ae37d13 /src/tests/eio
parent3de4e3100371206b1343afd7a4c4832b61964fcd (diff)
eina: Remove more Eina_Promise* parameter in promise callback
Remove not very useful parameter to eina_promise_then callbacks.
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/eio_test_job_xattr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/eio/eio_test_job_xattr.c b/src/tests/eio/eio_test_job_xattr.c
index d47fb50da0..f2fd2bbd24 100644
--- a/src/tests/eio/eio_test_job_xattr.c
+++ b/src/tests/eio/eio_test_job_xattr.c
@@ -60,7 +60,7 @@ _main_cb(void *data, void *v)
60} 60}
61 61
62static void 62static void
63_done_cb(void *data, void *value EINA_UNUSED, Eina_Promise* promise EINA_UNUSED) 63_done_cb(void *data, void *value EINA_UNUSED)
64 64
65{ 65{
66 int *num_of_attr = (int *)data; 66 int *num_of_attr = (int *)data;
@@ -71,7 +71,7 @@ _done_cb(void *data, void *value EINA_UNUSED, Eina_Promise* promise EINA_UNUSED)
71} 71}
72 72
73static void 73static void
74_done_get_cb(void *data EINA_UNUSED, void* v, Eina_Promise* promise EINA_UNUSED) 74_done_get_cb(void *data EINA_UNUSED, void* v)
75{ 75{
76 Eina_Iterator** it = (Eina_Iterator**)v; 76 Eina_Iterator** it = (Eina_Iterator**)v;
77 int i = 0; 77 int i = 0;
@@ -90,7 +90,7 @@ _done_get_cb(void *data EINA_UNUSED, void* v, Eina_Promise* promise EINA_UNUSED)
90} 90}
91 91
92static void 92static void
93_done_set_cb(void *data, void* v, Eina_Promise* promise EINA_UNUSED) 93_done_set_cb(void *data, void* v)
94{ 94{
95 Eina_Iterator** it = (Eina_Iterator**)v; 95 Eina_Iterator** it = (Eina_Iterator**)v;
96 int *placeholder; 96 int *placeholder;
@@ -104,7 +104,7 @@ _done_set_cb(void *data, void* v, Eina_Promise* promise EINA_UNUSED)
104} 104}
105 105
106static void 106static void
107_error_cb(void *data EINA_UNUSED, Eina_Error error, Eina_Promise* promise EINA_UNUSED) 107_error_cb(void *data EINA_UNUSED, Eina_Error error)
108 108
109{ 109{
110 fprintf(stderr, "Something has gone wrong:%s\n", eina_error_msg_get(error)); 110 fprintf(stderr, "Something has gone wrong:%s\n", eina_error_msg_get(error));