Changeset 768


Ignore:
Timestamp:
09/23/05 15:44:01 (7 years ago)
Author:
aj
Message:

silence warnings about extra "," and "" style comments.

Location:
trunk/src
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ctapi/ctapi.h

    r655 r768  
    4242                CTAPI_DAD_CT = 1, 
    4343                CTAPI_DAD_HOST = 2, 
    44                 CTAPI_DAD_ICC2 = 3, 
     44                CTAPI_DAD_ICC2 = 3 
    4545        }; 
    4646 
  • trunk/src/ifd/cardman.h

    r656 r768  
    132132        unsigned char atr_len; 
    133133        unsigned char bIFSD, bIFSC; 
    134         unsigned char ta1;      // TA(1) specifies Fi over b8 to b5, Di over b4 to b1 
     134        unsigned char ta1;      /* TA(1) specifies Fi over b8 to b5, Di over b4 to b1 */ 
    135135        unsigned char pts[4]; 
    136136 
     
    161161        int op; 
    162162        unsigned char proto; 
    163         int ttl, ttl_hi,        //CWT 
    164          bwt,                   //BWT 
    165          ptsttl;                //PTS retry 
     163        int ttl, ttl_hi,        /* CWT */ 
     164         bwt,                   /* BWT */ 
     165         ptsttl;                /* PTS retry */ 
    166166#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) 
    167167        int open; 
  • trunk/src/ifd/ifd-ccid.c

    r767 r768  
    707707     st->reader_type = TYPE_APDU; 
    708708     st->voltage_support |= AUTO_VOLTAGE; 
    709      st->ifsd=1; // ? 
     709     st->ifsd=1; /* ? */ 
    710710     st->maxmsg = CCID_MAX_MSG_LEN; 
    711      st->flags = FLAG_AUTO_ATRPARSE|FLAG_NO_PTS;//|FLAG_NO_SETPARAM; 
     711     st->flags = FLAG_AUTO_ATRPARSE|FLAG_NO_PTS; /*|FLAG_NO_SETPARAM; */ 
    712712 
    713713     reader->driver_data = st; 
  • trunk/src/ifd/ifd-cm4000.c

    r732 r768  
    9999        /* propriatary driver doesn't check return value here, too */ 
    100100 
    101         // CM_IOCGATR 
     101        /* CM_IOCGATR */ 
    102102        if (ioctl(dev->fd, CM_IOCGATR, &cmatr) != 0) { 
    103103                ifd_debug(1, "error during ioctl(CM_IOCGATR)\n"); 
  • trunk/src/ifd/ifd-kaan.c

    r677 r768  
    1919enum { 
    2020        TYPE_KAAN, 
    21         TYPE_B1, 
     21        TYPE_B1 
    2222}; 
    2323 
  • trunk/src/ifd/ifd-pertosmart1030.c

    r748 r768  
    3838  PS_EXCHANGE_APDU     = 0xa0, 
    3939  PS_EXCHANGE_T1_FRAME = 0xa1, 
    40   PS_POWER_OFF         = 0x81, 
     40  PS_POWER_OFF         = 0x81 
    4141} ps_instruction_t; 
    4242 
     
    5757  PS_2WIRE_CARD_TYPE   = 0x06, 
    5858  PS_3WIRE_CARD_TYPE   = 0x05, 
    59   PS_I2C_CARD_TYPE     = 0x02, 
     59  PS_I2C_CARD_TYPE     = 0x02 
    6060} ps_card_type_t; 
    6161 
     
    474474 
    475475  for(i = 0, k = 0; i < in_len; i++) { 
    476     // convert the most significant nibble 
     476    /* convert the most significant nibble */ 
    477477    out[k++] = PS_ASCII_TO_HEX(in[i] >> 4); 
    478     // convert the less significant nibble 
     478    /* convert the less significant nibble */ 
    479479    out[k++] = PS_ASCII_TO_HEX(in[i] & 0x0f); 
    480480  } 
    481481 
    482   // return the number of byte copied to output buffer 
     482  /* return the number of byte copied to output buffer */ 
    483483  return k; 
    484484} 
     
    744744  /* header is present */ 
    745745  if(PS_HEADER != protocol_bytes[PS_HEADER_IDX]) { 
    746     // receive error 
     746    /* receive error */ 
    747747    rc = IFD_ERROR_COMM_ERROR; 
    748748    goto out; 
  • trunk/src/ifd/ifd-towitoko.c

    r683 r768  
    2020        TWT_LED_RED, 
    2121        TWT_LED_GREEN, 
    22         TWT_LED_YELLOW, 
     22        TWT_LED_YELLOW 
    2323}; 
    2424 
  • trunk/src/ifd/ria.h

    r662 r768  
    5252        RIA_SERIAL_SET_CONFIG, 
    5353 
    54         RIA_DATA = 0x80, 
     54        RIA_DATA = 0x80 
    5555}; 
    5656 
  • trunk/src/tools/openct-tool.c

    r712 r768  
    4343        CMD_MF, 
    4444        CMD_READ, 
    45         CMD_VERSION, 
     45        CMD_VERSION 
    4646}; 
    4747 
Note: See TracChangeset for help on using the changeset viewer.