summaryrefslogtreecommitdiffstats
path: root/sys/dev/sbni
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-09-23 06:35:33 +0000
committeralfred <alfred@FreeBSD.org>2002-09-23 06:35:33 +0000
commit2b5b784b491d192ab46d1b726f8360853845b3df (patch)
tree295b33ef6690d798da620565cc0d141598eaff46 /sys/dev/sbni
parentfea0b727876e77b06fa785680c9eabf0b6f2e8a0 (diff)
downloadFreeBSD-src-2b5b784b491d192ab46d1b726f8360853845b3df.zip
FreeBSD-src-2b5b784b491d192ab46d1b726f8360853845b3df.tar.gz
use __packed/__aligned rather than GCC-specific __attribute__.
Diffstat (limited to 'sys/dev/sbni')
-rw-r--r--sys/dev/sbni/if_sbni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sbni/if_sbni.c b/sys/dev/sbni/if_sbni.c
index 1c30896..d95bb45 100644
--- a/sys/dev/sbni/if_sbni.c
+++ b/sys/dev/sbni/if_sbni.c
@@ -1253,7 +1253,7 @@ calc_crc32(u_int32_t crc, caddr_t p, u_int len)
#endif /* ASM_CRC */
-static u_int32_t crc32tab[] __attribute__ ((aligned(8))) = {
+static u_int32_t crc32tab[] __aligned(8) = {
0xD202EF8D, 0xA505DF1B, 0x3C0C8EA1, 0x4B0BBE37,
0xD56F2B94, 0xA2681B02, 0x3B614AB8, 0x4C667A2E,
0xDCD967BF, 0xABDE5729, 0x32D70693, 0x45D03605,
OpenPOWER on IntegriCloud