- define PICCDEV at compile time via configure option
- fixed compile error due to missing semi colon git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@332 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -7,4 +7,4 @@ picc_to_pcsc_SOURCES = picc_to_pcsc.c pcscutil.c
|
||||
picc_to_pcsc_LDADD = $(PCSC_LIBS)
|
||||
picc_to_pcsc_CFLAGS = $(PCSC_CFLAGS)
|
||||
|
||||
noinst_HEADERS = picc_to_pcsc.h pcscutil.h
|
||||
noinst_HEADERS = pcscutil.h
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "picc_to_pcsc.h"
|
||||
#include "config.h"
|
||||
#include "pcscutil.h"
|
||||
|
||||
static FILE *picc_fd = NULL; /*filehandle used for PICCDEV*/
|
||||
@@ -41,8 +41,8 @@ static SCARDHANDLE hCard = 0;
|
||||
/* Forward declaration */
|
||||
static void cleanup_exit(int signo);
|
||||
static void cleanup(void);
|
||||
static size_t picc_decode_apdu(char *inbuf, size_t inlen, unsigned char **outbuf)
|
||||
static size_t picc_encode_rapdu(unsigned char *inbuf, size_t inlen, char **outbuf)
|
||||
static size_t picc_decode_apdu(char *inbuf, size_t inlen, unsigned char **outbuf);
|
||||
static size_t picc_encode_rapdu(unsigned char *inbuf, size_t inlen, char **outbuf);
|
||||
|
||||
void cleanup_exit(int signo){
|
||||
cleanup();
|
||||
|
||||
Reference in New Issue
Block a user