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-help.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-help.c')
-rw-r--r-- | scd/app-help.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scd/app-help.c b/scd/app-help.c index 59221ea9c..e3ad74434 100644 --- a/scd/app-help.c +++ b/scd/app-help.c @@ -24,7 +24,6 @@ #include <string.h> #include "scdaemon.h" -#include "app-common.h" #include "iso7816.h" #include "../common/tlv.h" |