]> Git Repo - qemu.git/commit
vmxnet3: Eliminate __packed redefined warning
authorBrad Smith <[email protected]>
Fri, 23 Aug 2013 16:28:25 +0000 (12:28 -0400)
committerStefan Hajnoczi <[email protected]>
Fri, 6 Sep 2013 15:25:55 +0000 (17:25 +0200)
commit3dbb9786e9f5fa8429824818b6f799d8f65d1199
treec6282896bd3c8897d2b91dd0076175c2bf218cc3
parente9845f0985f088dd01790f4821026df0afba5795
vmxnet3: Eliminate __packed redefined warning

This eliminates a warning about __packed being redefined as exposed by the
vmxnet3 code. __packed is not used anywhere in the vmxnet3 code.

  CC    hw/net/vmxnet3.o
In file included from hw/net/vmxnet3.c:29:
hw/net/vmxnet3.h:37:1: warning: "__packed" redefined
In file included from /usr/include/stdlib.h:38,
                 from /buildbot-qemu/default_openbsd_current/build/include/qemu-common.h:26,
                 from /buildbot-qemu/default_openbsd_current/build/include/hw/hw.h:5,
                 from hw/net/vmxnet3.c:18:
/usr/include/sys/cdefs.h:209:1: warning: this is the location of the previous definition

Signed-off-by: Brad Smith <[email protected]>
Reviewed-by: Andreas Färber <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/net/vmxnet3.h
This page took 0.024001 seconds and 4 git commands to generate.