From 43dcf93407d6d2b87b6e7db74fd05fd237495bfe Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 21 Jun 2019 10:23:35 +0200 Subject: 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 --- scd/app-help.c | 1 - 1 file changed, 1 deletion(-) (limited to 'scd/app-help.c') 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 #include "scdaemon.h" -#include "app-common.h" #include "iso7816.h" #include "../common/tlv.h" -- cgit v1.2.3