]> git.pld-linux.org Git - packages/eagle-usb.git/commitdiff
- __attribute__((packed)) fixed.
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 30 May 2004 23:33:33 +0000 (23:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eagle-usb-eu_types.patch -> 1.1

eagle-usb-eu_types.patch [new file with mode: 0644]

diff --git a/eagle-usb-eu_types.patch b/eagle-usb-eu_types.patch
new file mode 100644 (file)
index 0000000..e39361b
--- /dev/null
@@ -0,0 +1,23 @@
+--- eagle-usb-1.9.6/driver/eu_types.h.orig     2004-02-22 22:11:30.000000000 +0100
++++ eagle-usb-1.9.6/driver/eu_types.h  2004-05-31 01:31:02.547799648 +0200
+@@ -155,13 +155,13 @@
+  */
+ typedef struct 
+ {
+-    uint8_t bRequestType;
+-    uint8_t bRequest;
+-    uint16_t wValue;
+-    uint16_t wIndex;
+-    uint16_t wLength;
+-    uint8_t data[20];
+-} eu_cdc_t __attribute__ ((packed));
++    uint8_t bRequestType __attribute__ ((packed));
++    uint8_t bRequest __attribute__ ((packed));
++    uint16_t wValue __attribute__ ((packed));
++    uint16_t wIndex __attribute__ ((packed));
++    uint16_t wLength __attribute__ ((packed));
++    uint8_t data[20] __attribute__ ((packed));
++} eu_cdc_t;
+ /**
This page took 0.054227 seconds and 4 git commands to generate.