diff options
author | falkTX <falktx@falktx.com> | 2019-09-25 03:05:40 +0100 |
---|---|---|
committer | Filipe Coelho <falktx@falktx.com> | 2019-09-25 03:06:49 +0100 |
commit | fdfe11cf96ef0204dd8be1f23c4cb1df6bdcc69a (patch) | |
tree | 26e8c5744e1fac7b4e3164b4e7d6767c3436ccd4 | |
parent | 9a5dbf26a7a422d82672e993683bd42ce3b66baf (diff) | |
download | jack2-fdfe11cf96ef0204dd8be1f23c4cb1df6bdcc69a.tar.gz |
evmon.c: fix function prototype
-rw-r--r-- | example-clients/evmon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example-clients/evmon.c b/example-clients/evmon.c index 3f3b8050..fdd5b2a0 100644 --- a/example-clients/evmon.c +++ b/example-clients/evmon.c @@ -69,8 +69,8 @@ graph_callback (void* arg) return 0; } -void -propchange (jack_uuid_t subject, const char* key, jack_property_change_t change) +static void +propchange (jack_uuid_t subject, const char* key, jack_property_change_t change, void* arg) { char buf[JACK_UUID_STRING_SIZE]; const char* action = ""; @@ -137,7 +137,7 @@ main (int argc, char *argv[]) fprintf (stderr, "cannot set graph order registration callback\n"); return 1; } - if (jack_set_property_change_callback (client, (JackPropertyChangeCallback) propchange, 0)) { + if (jack_set_property_change_callback (client, propchange, NULL)) { fprintf (stderr, "cannot set property change callback\n"); return 1; } |