]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - net/nfs.h
net: Use packed structures for networking
[karo-tx-uboot.git] / net / nfs.h
index 53451dbd17c46b3a26a10fa855f85d1a6f9a86a1..09b387e4c9a35da2a10e53c72286e1991a361919 100644 (file)
--- a/net/nfs.h
+++ b/net/nfs.h
@@ -68,8 +68,8 @@ struct rpc_t {
                        uint32_t data[19];
                } reply;
        } u;
-};
-extern void NfsStart(void);    /* Begin NFS */
+} __attribute__((packed));
+void nfs_start(void);  /* Begin NFS */
 
 
 /**********************************************************************/