11 lines
364 B
C
11 lines
364 B
C
|
#ifndef __LIB_PACKED_H
|
||
|
#define __LIB_PACKED_H
|
||
|
|
||
|
/* The "packed" attribute, when applied to a structure, prevents
|
||
|
GCC from inserting padding bytes between or after structure
|
||
|
members. It must be specified at the time of the structure's
|
||
|
definition, normally just after the closing brace. */
|
||
|
#define PACKED __attribute__ ((packed))
|
||
|
|
||
|
#endif /* lib/packed.h */
|