]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - net/nfs.h
net: Use packed structures for networking
[people/ms/u-boot.git] / net / nfs.h
index 45da246aa1e1bfa6ad8d7b267ab0a41fde8e231d..70a1a6d554be81390ac330a473c33be88baa32f0 100644 (file)
--- a/net/nfs.h
+++ b/net/nfs.h
@@ -79,7 +79,7 @@ struct rpc_t {
                        uint32_t data[NFS_READ_SIZE];
                } reply;
        } u;
-};
+} __attribute__((packed));
 void nfs_start(void);  /* Begin NFS */