diff --git a/libnfc/log.h b/libnfc/log.h index 34d0b85..eb46e6d 100644 --- a/libnfc/log.h +++ b/libnfc/log.h @@ -72,9 +72,9 @@ __attribute__((format(printf, 4, 5))) #else // No logging -#define log_init() ((void) 0) +#define log_init(nfc_context) ((void) 0) #define log_exit() ((void) 0) -#define log_put(category, priority, format, ...) do {} while (0) +#define log_put(group, category, priority, format, ...) do {} while (0) #endif // LOG @@ -102,7 +102,8 @@ __attribute__((format(printf, 4, 5))) log_put (group, LOG_CATEGORY, NFC_LOG_PRIORITY_DEBUG, "%s", __acBuf); \ } while (0); # else -# define LOG_HEX(pcTag, pbtData, szBytes) do { \ +# define LOG_HEX(group, pcTag, pbtData, szBytes) do { \ + (void) group; \ (void) pcTag; \ (void) pbtData; \ (void) szBytes; \