diff options
author | NIIBE Yutaka <[email protected]> | 2025-04-22 05:45:41 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2025-04-22 05:45:41 +0000 |
commit | 97583cf81ab003c192b38b6fee054edc3342b9c3 (patch) | |
tree | a3ed243ed2fc990a6135388da1c3f00e2a543bcc /tests/gpgscm/scheme-private.h | |
parent | gpgscm: Fix for CHARNAMES. (diff) | |
download | gnupg-97583cf81ab003c192b38b6fee054edc3342b9c3.tar.gz gnupg-97583cf81ab003c192b38b6fee054edc3342b9c3.zip |
gpgscm: Fix initialization for fixed size chars.
* tests/gpgscm/opdefines.h: Change the order of arguments.
* tests/gpgscm/scheme-private.h (_OP_DEF): OP comes first, and use
variadic args for the macro.
* tests/gpgscm/scheme.c (_OP_DEF): Likewise.
(TST_*): Use integers.
(check_arguments): Follow the change of TST_LIST.
--
GnuPG-bug-id: 7623
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tests/gpgscm/scheme-private.h')
-rw-r--r-- | tests/gpgscm/scheme-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpgscm/scheme-private.h b/tests/gpgscm/scheme-private.h index 7f92bda2c..c98901025 100644 --- a/tests/gpgscm/scheme-private.h +++ b/tests/gpgscm/scheme-private.h @@ -207,7 +207,7 @@ const struct scheme_interface *vptr; /* operator code */ enum scheme_opcodes { -#define _OP_DEF(A,B,C,D,OP) OP, +#define _OP_DEF(OP,A,B,C,...) OP, #include "opdefines.h" OP_MAXDEFINED }; |