From 1331528f071d07ca1c4f02800a5fc8244f70adca Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 2 May 1999 18:55:59 +0000 Subject: Update. 1999-04-14 Scott Bambrough * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr and struct ether_header must be packed on the ARM. The default alignment constraints add padding to the end of the structures. 1999-04-14 Scott Bambrough * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The default alignment constraints add padding to the end of the structure and between members. --- inet/arpa/tftp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inet/arpa') diff --git a/inet/arpa/tftp.h b/inet/arpa/tftp.h index 0904407c73..719c31bf7d 100644 --- a/inet/arpa/tftp.h +++ b/inet/arpa/tftp.h @@ -58,7 +58,7 @@ struct tftphdr { char tu_stuff[1]; /* request packet stuff */ } th_u; char th_data[1]; /* data or error string */ -}; +} __attribute__ ((__packed__)); #define th_block th_u.tu_block #define th_code th_u.tu_code -- cgit 1.4.1