about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--inet/arpa/tftp.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 04cda7fb2e..64935409da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
+
+	* inet/arpa/tftp.h: Move attribute declaration in right position.
+
 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
 
 	* nscd/nscd.c: Add -S options for separate caching of data for
diff --git a/inet/arpa/tftp.h b/inet/arpa/tftp.h
index 03ed54f678..21b0559e54 100644
--- a/inet/arpa/tftp.h
+++ b/inet/arpa/tftp.h
@@ -52,7 +52,7 @@ struct	tftphdr {
 		unsigned short	tu_block;	/* block # */
 		short	tu_code;		/* error code */
 		char	tu_stuff[1];		/* request packet stuff */
-	} th_u __attribute__ ((__packed__));
+	} __attribute__ ((__packed__)) th_u;
 	char	th_data[1];			/* data or error string */
 } __attribute__ ((__packed__));