- separate 'STATIC' (non-dyamic-allocation) from 'FIRMWARE' (no host drivers)
[librfid] / include / librfid / rfid_layer2_iso14443b.h
index 07c185f..7d2cb29 100644 (file)
@@ -26,7 +26,7 @@ struct iso14443b_atqb {
                              adc:2,
                              fwi:4;
        } protocol_info;
-};
+} __attribute__ ((packed));
 
 struct iso14443b_attrib_hdr {
        unsigned char one_d;
@@ -51,7 +51,7 @@ struct iso14443b_attrib_hdr {
                unsigned char cid:4,
                              rfu:4;
        } param4;
-};
+} __attribute__ ((packed));
 
 struct iso14443b_handle {
        unsigned int tcl_capable; /* do we support T=CL */
@@ -89,7 +89,7 @@ enum {
 };
 
 #include <librfid/rfid_layer2.h>
-struct rfid_layer2 rfid_layer2_iso14443b;
+extern const struct rfid_layer2 rfid_layer2_iso14443b;
 
 #endif /* __LIBRFID__ */