From b80d2b99aa9e633e8e4d7234b37893f4b137e7f7 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 16 Aug 2006 22:07:54 +0000 Subject: use attribute(packed) where apropriate git-svn-id: https://svn.gnumonks.org/trunk/librfid@1868 e0336214-984f-0b4b-a45f-81c69e1f0ede --- include/librfid/rfid_layer2_iso14443a.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/librfid/rfid_layer2_iso14443a.h b/include/librfid/rfid_layer2_iso14443a.h index 0ff84eb..81f1680 100644 --- a/include/librfid/rfid_layer2_iso14443a.h +++ b/include/librfid/rfid_layer2_iso14443a.h @@ -33,7 +33,7 @@ struct iso14443a_atqa { uid_size:2; u_int8_t proprietary:4, rfu2:4; -}; +} __attribute__((packed)); #define ISO14443A_HLTA 0x5000 @@ -42,7 +42,7 @@ struct iso14443a_anticol_cmd { unsigned char sel_code; unsigned char nvb; unsigned char uid_bits[5]; -}; +} __attribute__((packed)); enum iso14443a_anticol_sel_code { ISO14443A_AC_SEL_CODE_CL1 = 0x93, -- cgit v1.2.3