summaryrefslogtreecommitdiffstats
path: root/scd/ccid-driver.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-07-12 12:49:12 +0200
committerWerner Koch <wk@gnupg.org>2019-07-12 13:39:47 +0200
commitfb1c8978f57b8f92e2ea9d10afc1d133656c9706 (patch)
treea1578697779f9014f356d5b3e582f513424574a2 /scd/ccid-driver.c
parentdoc: Dependencies for figures are only for maintainers. (diff)
downloadgnupg2-fb1c8978f57b8f92e2ea9d10afc1d133656c9706.tar.xz
gnupg2-fb1c8978f57b8f92e2ea9d10afc1d133656c9706.zip
scd: Remove useless GNUPG_SCD_MAIN_HEADER macro.
* scd/apdu.c (): Remove never set and useless macro. * scd/ccid-driver.c: Ditto. * scd/iso7816.c: Ditto. -- Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'scd/ccid-driver.c')
-rw-r--r--scd/ccid-driver.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 45faa05bd..d762490c8 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -112,15 +112,10 @@
#define CCID_CMD_TIMEOUT (5*1000)
/* Depending on how this source is used we either define our error
- * output to go to the GnuPG based logging functions or to stderr. We
- * use the former when GNUPG_MAJOR_VERSION or GNUPG_SCD_MAIN_HEADER is
- * defined. */
-#if defined(GNUPG_MAJOR_VERSION) || defined(GNUPG_SCD_MAIN_HEADER)
-# if defined(GNUPG_SCD_MAIN_HEADER)
-# include GNUPG_SCD_MAIN_HEADER
-# else /* This is the modularized GnuPG 1.9 or later. */
+ * output to go to stderr or to the GnuPG based logging functions. We
+ * use the latter when GNUPG_MAJOR_VERSION is defined. */
+#if defined(GNUPG_MAJOR_VERSION)
# include "scdaemon.h"
-# endif
# define DEBUGOUT(t) do { if (debug_level) \
log_debug (DRVNAME t); } while (0)