From c763e9d6d8afc4052941c2d61a64fb3dd141bfe8 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Thu, 18 Feb 2016 19:45:05 +1100 Subject: [PATCH] evmon.c: Fix port rename callback function Fix the function signature of the callback function so that it matches what `jack_set_port_rename_callback` expects. --- evmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evmon.c b/evmon.c index 35c5c17..01b2e3a 100644 --- a/evmon.c +++ b/evmon.c @@ -27,7 +27,7 @@ #include void -port_rename_callback (jack_port_id_t port, const char* old_name, const char* new_name) +port_rename_callback (jack_port_id_t port, const char* old_name, const char* new_name, void * ptr) { printf ("Port %d renamed from %s to %s\n", port, old_name, new_name); }