};
struct hw16_bytes {
- unsigned char low __attribute__ ((packed));
- unsigned char high __attribute__ ((packed));
-};
+ unsigned char low;
+ unsigned char high;
+} __attribute__((packed)) w;
struct hw16_otype {
unsigned int space1:6 __attribute__ ((packed));
typedef union {
- struct hw16_bits bits __attribute__ ((packed));
- struct hw16_bytes bytes __attribute__ ((packed));
- struct hw16_tape tape __attribute__ ((packed));
- struct hw16_otype blocktype __attribute__ ((packed));
- unsigned short value __attribute__ ((packed));
-} hw16;
+ struct hw16_bits bits;
+ struct hw16_bytes bytes;
+ struct hw16_tape tape;
+ struct hw16_otype blocktype;
+ unsigned short value;
+} __attribute__ ((packed)) hw16;
enum {BT_DATA,BT_STOP};