[aravis/chunk: 2/6] protocol: add missing packed structure declaration



commit 7cb074d13e6f107861de6fa3a76d820dd8153026
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Mon Aug 18 11:30:38 2014 +0200

    protocol: add missing packed structure declaration

 src/arvgvcp.h |    2 +-
 src/arvgvsp.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/arvgvcp.h b/src/arvgvcp.h
index ea23e73..f33c4b6 100644
--- a/src/arvgvcp.h
+++ b/src/arvgvcp.h
@@ -239,7 +239,7 @@ typedef struct ARAVIS_PACKED_STRUCTURE {
  * GVCP packet structure.
  */
 
-typedef struct {
+typedef struct ARAVIS_PACKED_STRUCTURE {
        ArvGvcpHeader header;
        unsigned char data[];
 } ArvGvcpPacket;
diff --git a/src/arvgvsp.h b/src/arvgvsp.h
index e5800ff..2278af9 100644
--- a/src/arvgvsp.h
+++ b/src/arvgvsp.h
@@ -125,7 +125,7 @@ typedef struct ARAVIS_PACKED_STRUCTURE {
  * GVSP packet structure.
  */
 
-typedef struct {
+typedef struct ARAVIS_PACKED_STRUCTURE {
        ArvGvspHeader header;
        guint8 data[];
 } ArvGvspPacket;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]