summaryrefslogtreecommitdiff
path: root/src/bin/efl
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2017-05-19 08:59:56 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2017-06-05 08:55:37 +0300
commit27228d3dc1b09a1b9fdca47107b5cac81abc647e (patch)
treefb18c0f3bc813620f4d0409acfcc32ce8c02631d /src/bin/efl
parent8babb556466e9190a70775155859e369619a977a (diff)
Add data to opcode registration callback
Diffstat (limited to 'src/bin/efl')
-rw-r--r--src/bin/efl/efl_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/efl/efl_debug.c b/src/bin/efl/efl_debug.c
index 7876a08c18..1dff987633 100644
--- a/src/bin/efl/efl_debug.c
+++ b/src/bin/efl/efl_debug.c
@@ -208,7 +208,7 @@ _disp_cb(Eina_Debug_Session *session EINA_UNUSED, void *buffer)
208} 208}
209 209
210static void 210static void
211_args_handle(Eina_Bool flag) 211_args_handle(void *data EINA_UNUSED, Eina_Bool flag)
212{ 212{
213 if (!flag) exit(0); 213 if (!flag) exit(0);
214 eina_debug_session_dispatch_override(_session, _disp_cb);; 214 eina_debug_session_dispatch_override(_session, _disp_cb);;
@@ -254,7 +254,7 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
254 fprintf(stderr, "ERROR: Cannot connect to debug daemon.\n"); 254 fprintf(stderr, "ERROR: Cannot connect to debug daemon.\n");
255 return -1; 255 return -1;
256 } 256 }
257 eina_debug_opcodes_register(_session, ops, _args_handle); 257 eina_debug_opcodes_register(_session, ops, _args_handle, NULL);
258 258
259 ecore_main_loop_begin(); 259 ecore_main_loop_begin();
260 260