winradio: fix ineffective packed attribute

Hamlib-3.0
Stephane Fillod 2012-06-23 16:51:13 +02:00
rodzic 3d93b8ccbb
commit eb8fc66675
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -76,7 +76,7 @@ typedef struct {
DWORD dwRefClk1;
DWORD dwRefClk2;
BYTE IF1DAC[8];
} RADIO_INFO __attribute__((packed));
} __attribute__((packed)) RADIO_INFO;
/* #pragma pack() // set back the default packing */
/* Some type definitions needed for dll access */

Wyświetl plik

@ -77,7 +77,7 @@ typedef struct {
DWORD dwRefClk1;
DWORD dwRefClk2;
BYTE IF1DAC[8];
} RADIO_INFO __attribute__((packed));
} __attribute__((packed)) RADIO_INFO;
/* #pragma pack() // set back the default packing */
/* Some type definitions needed for dll access */

Wyświetl plik

@ -86,7 +86,7 @@ typedef struct {
DWORD dwRefClk1;
DWORD dwRefClk2;
BYTE IF1DAC[8];
} RADIO_INFO __attribute__((packed));
} __attribute__((packed)) RADIO_INFO;
/* #pragma pack() // set back the default packing */
/* Some type definitions needed for dll access */