diff options
author | fulup <fulup.arfoll@iot.bzh> | 2017-08-13 16:50:34 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2017-08-13 17:31:30 +0200 |
commit | 9777a02c7540fdec145feb948b4bbf1cd44c3352 (patch) | |
tree | 85f64445ef292938839092696c449d1b7c63216e /Alsa-Plugin/Alsa-Policy-Hook/PolicyHookCb.c | |
parent | b65178642727536972d0c04e53b2310be58beb2e (diff) |
Fix AFB_MESSAGE with null arguments
Diffstat (limited to 'Alsa-Plugin/Alsa-Policy-Hook/PolicyHookCb.c')
-rw-r--r-- | Alsa-Plugin/Alsa-Policy-Hook/PolicyHookCb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Alsa-Plugin/Alsa-Policy-Hook/PolicyHookCb.c b/Alsa-Plugin/Alsa-Policy-Hook/PolicyHookCb.c index 501ebf9..3b52f5b 100644 --- a/Alsa-Plugin/Alsa-Policy-Hook/PolicyHookCb.c +++ b/Alsa-Plugin/Alsa-Policy-Hook/PolicyHookCb.c @@ -58,9 +58,8 @@ #endif // Currently not implemented -#define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) -#define UNUSED_FUNCTION(x) __attribute__((__unused__)) UNUSED_ ## x -void OnRequestCB(void* UNUSED(handle) , const char* UNUSED(api), const char* UNUSED(verb), struct afb_wsj1_msg*UNUSED(msg)) {} +#define UNUSED_ARG(x) UNUSED_ ## x __attribute__((__unused__)) +void OnRequestCB(void* UNUSED_ARG(handle) , const char* UNUSED_ARG(api), const char* UNUSED_ARG(verb), struct afb_wsj1_msg*UNUSED_ARG(msg)) {} typedef struct { const char *api; |