diff options
author | Justus Winter <justus@g10code.com> | 2017-04-05 17:30:44 +0200 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2017-05-03 15:31:55 +0200 |
commit | 9c6407d17e0cb9f4a370b1b83e7816577ec7d29d (patch) | |
tree | 76fbd84622abb48f718082af49bafe08a30b66c7 /tests/gpgscm/scheme-private.h | |
parent | speedo,w32: Allow installation as normal user (diff) | |
download | gnupg2-9c6407d17e0cb9f4a370b1b83e7816577ec7d29d.tar.xz gnupg2-9c6407d17e0cb9f4a370b1b83e7816577ec7d29d.zip |
gpgscm: Merge opexe_0.
* tests/gpgscm/scheme-private.h (struct scheme): Remove field 'op'.
* tests/gpgscm/scheme.c (opexe_0): Inline into 'Eval_Cycle'.
(_Error_1): Return the opcode to evaluate next.
(Error_1): Do not return, but set the opcode and goto dispatch.
(Error_0): Likewise.
(s_goto): Likewise.
(s_return): Likewise.
(s_return_enable_gc): Likewise.
(s_thread_to): Remove superfluous cast.
(_s_return): Return the opcode to evaluate next.
(scheme_init_custom_alloc): Adapt to removal of field 'op'.
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tests/gpgscm/scheme-private.h')
-rw-r--r-- | tests/gpgscm/scheme-private.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gpgscm/scheme-private.h b/tests/gpgscm/scheme-private.h index bc0269ad2..0ba9a53a5 100644 --- a/tests/gpgscm/scheme-private.h +++ b/tests/gpgscm/scheme-private.h @@ -196,7 +196,6 @@ FILE *tmpfp; int tok; int print_flag; pointer value; -int op; unsigned int flags; void *ext_data; /* For the benefit of foreign functions */ |