summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-02 18:55:59 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-02 18:55:59 +0000
commit1331528f071d07ca1c4f02800a5fc8244f70adca (patch)
treedc424fde607d0197bde9f6f08f877a012d0efa0f /inet
parent686dfcd106e96e3f991cec76c8d0e434cf97fe54 (diff)
downloadglibc-1331528f071d07ca1c4f02800a5fc8244f70adca.tar.gz
glibc-1331528f071d07ca1c4f02800a5fc8244f70adca.tar.xz
glibc-1331528f071d07ca1c4f02800a5fc8244f70adca.zip
Update.
1999-04-14  Scott Bambrough  <scottb@netwinder.org>

	* 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  <scottb@netwinder.org>

	* 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.
Diffstat (limited to 'inet')
-rw-r--r--inet/arpa/tftp.h2
1 files changed, 1 insertions, 1 deletions
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