0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

__attribute__((packed)) added. Thank to Maksim Tamarsky

This commit is contained in:
Ondrej Filip 2014-10-16 18:05:54 +02:00
parent cfdea7b85f
commit d26cfa0519

View File

@ -319,13 +319,13 @@ struct immsb
u8 i:1; u8 i:1;
u8 padding:5; u8 padding:5;
#endif #endif
}; }__attribute__((packed));;
union imms union imms
{ {
u8 byte; u8 byte;
struct immsb bit; struct immsb bit;
}; }__attribute__((packed));;
#define DBDES_MS 1 #define DBDES_MS 1
#define DBDES_M 2 #define DBDES_M 2
#define DBDES_I 4 #define DBDES_I 4