[ovs-dev] [PATCH 11/16] compiler: Remove PACKED macro and its only (unneeded) user.
Jesse Gross
jesse at nicira.com
Fri Feb 12 13:39:47 PST 2010
On Thu, Feb 11, 2010 at 6:18 PM, Ben Pfaff <blp at nicira.com> wrote:
> struct pcaprec_hdr {
> uint32_t ts_sec; /* timestamp seconds */
> uint32_t ts_usec; /* timestamp microseconds */
> uint32_t incl_len; /* number of octets of packet saved in file */
> uint32_t orig_len; /* actual length of packet */
> -} PACKED;
> +} OVS_PACKED;
> +BUILD_ASSERT_DECL(sizeof(struct pcaprec_hdr) == 16);
>
Did you mean to change this one to OVS_PACKED or should it be dropped
entirely?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/dev/attachments/20100212/67de33e5/attachment.htm>
More information about the dev
mailing list