summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjunyoung <junyoung@NetBSD.org>2007-10-02 05:40:10 +0000
committerjunyoung <junyoung@NetBSD.org>2007-10-02 05:40:10 +0000
commit24ae586ea3a7852fba1d7ac98fb2a561ff7cccba (patch)
tree44cee0e6b39c220c2abe8a9ad00079b69f85c129 /sys/dev
parent0327efae316c31b47fd6eac3c6ab5c98b8a41387 (diff)
Use __packed rather than __attribute__ ((__packed__)).
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bluetooth/bcsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bluetooth/bcsp.h b/sys/dev/bluetooth/bcsp.h
index 123b8d6bdb9..4edcbbf7fd9 100644
--- a/sys/dev/bluetooth/bcsp.h
+++ b/sys/dev/bluetooth/bcsp.h
@@ -1,4 +1,4 @@
-/* $NetBSD: bcsp.h,v 1.1 2007/09/30 04:07:42 kiyohara Exp $ */
+/* $NetBSD: bcsp.h,v 1.2 2007/10/02 05:40:10 junyoung Exp $ */
/*
* Copyright (c) 2007 KIYOHARA Takashi
* All rights reserved.
@@ -48,7 +48,7 @@ typedef struct {
uint8_t plen2; /* Payload Length (bits 4-11) */
uint8_t csum; /* Checksum */
u_char payload[0];
-} __attribute__ ((__packed__)) bcsp_hdr_t;
+} __packed bcsp_hdr_t;
#define BCSP_FLAGS_SEQ_SHIFT 0
#define BCSP_FLAGS_SEQ_MASK 0x07