Skip to content
  • Brad Smith's avatar
    vmxnet3: Eliminate __packed redefined warning · 3dbb9786
    Brad Smith authored
    
    
    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: default avatarBrad Smith <brad@comstyle.com>
    Reviewed-by: default avatarAndreas Färber <afaerber@suse.de>
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    3dbb9786