On 9/24/19 4:07 PM, Richard W.M. Jones wrote:
Some further small changes are made to allow this header to be used
from arbitrary ISO C compilers.
It can now be used from other projects.
---
common/protocol/Makefile.am | 2 ++
common/protocol/nbd-protocol.h | 38 ++++++++++++++++++++--------------
2 files changed, 24 insertions(+), 16 deletions(-)
/* Newstyle handshake OPT_EXPORT_NAME reply message. */
struct nbd_export_name_option_reply {
uint64_t exportsize; /* size of export */
uint16_t eflags; /* per-export flags */
char zeroes[124]; /* optional zeroes */
-} __attribute__((packed));;
+} NBD_ATTRIBUTE_PACKED;;
Still double ;;
ACK
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization:
qemu.org |
libvirt.org