Disable "register" variable name

Fixes https://github.com/jackaudio/jack1/issues/84
This commit is contained in:
Matthias Geier 2020-11-27 23:17:36 +01:00 committed by Filipe Coelho
parent 3e0ebfba31
commit ab27e5a59f
1 changed files with 2 additions and 2 deletions

View File

@ -386,7 +386,7 @@ typedef int (*JackSampleRateCallback)(jack_nframes_t nframes, void *arg);
* @param register non-zero if the port is being registered,
* zero if the port is being unregistered
*/
typedef void (*JackPortRegistrationCallback)(jack_port_id_t port, int register, void *arg);
typedef void (*JackPortRegistrationCallback)(jack_port_id_t port, int /* register */, void *arg);
/**
* Prototype for the client supplied function that is called
@ -408,7 +408,7 @@ typedef void (*JackPortRenameCallback)(jack_port_id_t port, const char* old_name
* zero if the client is being unregistered
* @param arg pointer to a client supplied data
*/
typedef void (*JackClientRegistrationCallback)(const char* name, int register, void *arg);
typedef void (*JackClientRegistrationCallback)(const char* name, int /* register */, void *arg);
/**
* Prototype for the client supplied function that is called