diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2007-10-08 08:18:36 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2007-10-08 08:18:36 +0000 |
commit | 660212d2cbb7d89da43ea174a73594b55cfac09d (patch) | |
tree | 97c40054a6ff1fd3d3db13b03d24885807ce2830 /regress/usr.bin | |
parent | 85f5b223637cfd80a938da9ee99091eb860da279 (diff) |
attribute packed -> __packed
OK millert
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/xlint/test-11.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/usr.bin/xlint/test-11.c b/regress/usr.bin/xlint/test-11.c index 510906bc0f8..1df0073680d 100644 --- a/regress/usr.bin/xlint/test-11.c +++ b/regress/usr.bin/xlint/test-11.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test-11.c,v 1.2 2005/12/03 01:04:06 cloder Exp $ */ +/* $OpenBSD: test-11.c,v 1.3 2007/10/08 08:18:35 gilles Exp $ */ /* * Placed in the public domain by Chad Loder <cloder@openbsd.org>. @@ -78,8 +78,8 @@ foo9(void) */ typedef struct mystruct { - unsigned char c_data[128] __attribute__((__packed__)); - unsigned int u_data[128] __attribute__((__packed__)); + unsigned char c_data[128] __packed; + unsigned int u_data[128] __packed; } mystruct_t; @@ -88,7 +88,7 @@ struct mystruct { */ struct mystruct2 { unsigned char c_data[128]; -} __attribute__((__packed__)); +} __packed; /* * A typedef with an attribute after the typename. |