define these constants where used to kill warnings.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3069 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2006-12-07 10:53:37 +00:00
parent 5610edfc2f
commit 31f4fada5b
3 changed files with 4 additions and 4 deletions

View File

@ -29,6 +29,7 @@
#define MSCFS_FILE_NOT_FOUND SC_ERROR_FILE_NOT_FOUND
#define MSCFS_CACHE_INCREMENT 128
static msc_id rootId = { { 0x3F, 0x00, 0x3F, 0x00 } };
static const u8* ignoredFiles[] = {
(const u8*)"l0\0\0",

View File

@ -30,10 +30,6 @@ typedef struct msc_id {
} msc_id;
static msc_id inputId = { { 0xFF, 0xFF, 0xFF, 0xFF } };
static msc_id outputId = { { 0xFF, 0xFF, 0xFF, 0xFE } };
static msc_id rootId = { { 0x3F, 0x00, 0x3F, 0x00 } };
typedef struct mscfs_file {
msc_id objectId;
size_t size;

View File

@ -41,6 +41,9 @@
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
#endif
static msc_id inputId = { { 0xFF, 0xFF, 0xFF, 0xFF } };
static msc_id outputId = { { 0xFF, 0xFF, 0xFF, 0xFE } };
int msc_list_objects(sc_card_t* card, u8 next, mscfs_file_t* file) {
sc_apdu_t apdu;
u8 fileData[14];