[warnings] fix C23 extension warnings

This commit is contained in:
akallabeth 2024-10-29 14:48:30 +01:00
parent 2b95757a7a
commit 8aa49c3e93
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -48,7 +48,7 @@
#include "../log.h"
#define TAG WINPR_TAG("smartcard")
#define WINSCARD_LOAD_PROC_EX(module, pcsc, _fname, _name, ...) \
#define WINSCARD_LOAD_PROC_EX(module, pcsc, _fname, _name) \
do \
{ \
WINPR_PRAGMA_DIAG_PUSH \
@ -57,8 +57,7 @@
WINPR_PRAGMA_DIAG_POP \
} while (0)
#define WINSCARD_LOAD_PROC(module, pcsc, _name, ...) \
WINSCARD_LOAD_PROC_EX(module, pcsc, _name, _name, ##__VA_ARGS__)
#define WINSCARD_LOAD_PROC(module, pcsc, _name) WINSCARD_LOAD_PROC_EX(module, pcsc, _name, _name)
/**
* PC/SC transactions: