Diffusion GnuPG 43dcf93407d6

scd: Simplify inclusion of app-common.h.

Authored by werner on Fri, Jun 21, 10:23 AM.

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

Committed
wernerFri, Jun 21, 11:42 AM
Parents
rG4256e9f0f1bf: gpg: Very minor code cleanup.
Branches
Unknown
Tags
Unknown