OSDN Git Service

ccid: declare DEFAULT_ATR table to be "static const"
authorJim Meyering <meyering@redhat.com>
Mon, 21 May 2012 19:51:33 +0000 (21:51 +0200)
committerAlon Levy <alevy@redhat.com>
Wed, 24 Apr 2013 08:47:35 +0000 (11:47 +0300)
Signed-off-by: Jim Meyering <meyering@redhat.com>
Reviewed-by: Alon Levy <alevy@redhat.com>
Reviewed-by: Marc-André Lureau <mlureau@redhat.com>
hw/usb/ccid-card-passthru.c

index 71a45f6..275b887 100644 (file)
@@ -27,7 +27,7 @@ do {                                                    \
 #define D_VERBOSE 4
 
 /* TODO: do we still need this? */
-uint8_t DEFAULT_ATR[] = {
+static const uint8_t DEFAULT_ATR[] = {
 /*
  * From some example somewhere
  * 0x3B, 0xB0, 0x18, 0x00, 0xD1, 0x81, 0x05, 0xB1, 0x40, 0x38, 0x1F, 0x03, 0x28