mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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>
This commit is contained in:
parent
58bab1a878
commit
fb1c8978f5
@ -42,12 +42,10 @@
|
||||
#include "rapdu.h"
|
||||
#endif /*USE_G10CODE_RAPDU*/
|
||||
|
||||
#if defined(GNUPG_SCD_MAIN_HEADER)
|
||||
# include GNUPG_SCD_MAIN_HEADER
|
||||
#else /*!GNUPG_SCD_MAIN_HEADER*/
|
||||
#if defined(GNUPG_MAJOR_VERSION)
|
||||
# include "scdaemon.h"
|
||||
# include "../common/exechelp.h"
|
||||
#endif /*!GNUPG_SCD_MAIN_HEADER*/
|
||||
#endif /*GNUPG_MAJOR_VERSION*/
|
||||
|
||||
#include "../common/host2net.h"
|
||||
|
||||
|
@ -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)
|
||||
|
@ -23,11 +23,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(GNUPG_SCD_MAIN_HEADER)
|
||||
# include GNUPG_SCD_MAIN_HEADER
|
||||
#else
|
||||
#if defined(GNUPG_MAJOR_VERSION)
|
||||
# include "scdaemon.h"
|
||||
#endif /*!GNUPG_SCD_MAIN_HEADER*/
|
||||
#endif /*GNUPG_MAJOR_VERSION*/
|
||||
|
||||
#include "iso7816.h"
|
||||
#include "apdu.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user