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) {
}
-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;
int bytes;
int ret;
- MRP_UNUSED(ml);
MRP_UNUSED(w);
MRP_UNUSED(events);
}
-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) {