blob: 761838c8f1ab725ec2fba6de22944b5a679f3a83 [file] [log] [blame]
/*
* Declare directives for structure packing. No padding will be provided
* between the members of packed structures, and therefore, there is no
* guarantee that structure members will be aligned.
*
* Declaring packed structures is compiler specific. In order to handle all
* cases, packed structures should be delared as:
*
* #include <packed_section_start.h>
*
* typedef BWL_PRE_PACKED_STRUCT struct foobar_t {
* some_struct_members;
* } BWL_POST_PACKED_STRUCT foobar_t;
*
* #include <packed_section_end.h>
*
*
* $Copyright Open Broadcom Corporation$
* $Id: packed_section_end.h 241182 2011-02-17 21:50:03Z $
*/
#ifdef BWL_PACKED_SECTION
#undef BWL_PACKED_SECTION
#else
#error "BWL_PACKED_SECTION is NOT defined!"
#endif
#undef BWL_PRE_PACKED_STRUCT
#undef BWL_POST_PACKED_STRUCT