diff options
| author | Werner Koch <[email protected]> | 2019-06-21 08:23:35 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2019-06-21 09:42:59 +0000 |
| commit | 43dcf93407d6d2b87b6e7db74fd05fd237495bfe (patch) | |
| tree | 508f393126fd9994b7eea9a6523676be5872b949 /scd/app-openpgp.c | |
| parent | gpg: Very minor code cleanup. (diff) | |
| download | gnupg-43dcf93407d6d2b87b6e7db74fd05fd237495bfe.tar.gz gnupg-43dcf93407d6d2b87b6e7db74fd05fd237495bfe.zip | |
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 <[email protected]>
Diffstat (limited to 'scd/app-openpgp.c')
| -rw-r--r-- | scd/app-openpgp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c index b93b7b557..c301f8218 100644 --- a/scd/app-openpgp.c +++ b/scd/app-openpgp.c @@ -54,7 +54,6 @@ #include "../common/util.h" #include "../common/i18n.h" #include "iso7816.h" -#include "app-common.h" #include "../common/tlv.h" #include "../common/host2net.h" #include "../common/openpgpdefs.h" |
