Home GnuPG
Diffusion GnuPG 43dcf93407d6

scd: Simplify inclusion of app-common.h.

Description

scd: Simplify inclusion of app-common.h.

* scd/scdaemon.h: Include app-common.h.  Remove inclusion of that
header from all other files.
(card_t, app_t): Move typedef to ...
* scd/app-common.h: here.  Use them in the defs.

In another patch we will need apptype_t in the ctrl object and thus we
need to reorganize things a bit now. Given that most files need
app-common anyway it makes sense to always include it.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 21 2019, 10:23 AM
Parents
rG4256e9f0f1bf: gpg: Very minor code cleanup.
Branches
Unknown
Tags
Unknown