resource-asm: update for mainloop notification signature changes.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 28 Mar 2013 12:51:50 +0000 (14:51 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:09 +0000 (18:37 +0200)
src/plugins/plugin-resource-asm.c
src/plugins/resource-asm/asm-bridge.c

index 599308d..0598272 100644 (file)
@@ -1302,12 +1302,10 @@ error:
     return -1;
 }
 
-static void signal_handler(mrp_mainloop_t *ml, mrp_sighandler_t *h,
-                           int signum, void *user_data)
+static void signal_handler(mrp_sighandler_t *h, int signum, void *user_data)
 {
     asm_data_t *ctx = (asm_data_t *) user_data;
 
-    MRP_UNUSED(ml);
     MRP_UNUSED(h);
 
     if (signum == SIGCHLD) {
index 9512835..212bcc8 100644 (file)
@@ -199,7 +199,7 @@ static int process_msg(ASM_msg_lib_to_asm_t *msg, ctx_t *ctx)
 }
 
 
-static void pipe_cb(mrp_mainloop_t *ml, mrp_io_watch_t *w, int fd,
+static void pipe_cb(mrp_io_watch_t *w, int fd,
             mrp_io_event_t events, void *user_data)
 {
     ASM_msg_lib_to_asm_t msg;
@@ -207,7 +207,6 @@ static void pipe_cb(mrp_mainloop_t *ml, mrp_io_watch_t *w, int fd,
     int bytes;
     int ret;
 
-    MRP_UNUSED(ml);
     MRP_UNUSED(w);
     MRP_UNUSED(events);
 
@@ -226,13 +225,12 @@ static void pipe_cb(mrp_mainloop_t *ml, mrp_io_watch_t *w, int fd,
 }
 
 
-static void read_watch_cb(mrp_mainloop_t *ml, mrp_io_watch_t *w, int fd,
+static void read_watch_cb(mrp_io_watch_t *w, int fd,
                                   mrp_io_event_t events, void *user_data)
 {
     struct watched_file *wf = (struct watched_file *) user_data;
     ctx_t *ctx = wf->ctx;
 
-    MRP_UNUSED(ml);
     MRP_UNUSED(w);
 
     if (events & MRP_IO_EVENT_IN) {