summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-08-16 22:07:54 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-08-16 22:07:54 +0000
commitb80d2b99aa9e633e8e4d7234b37893f4b137e7f7 (patch)
tree93ac7bb33c834ba073b962952f2c5bf7d807f4bd
parent2f8c4ec417275afff4ae3f6853c9627ac0f75f93 (diff)
use attribute(packed) where apropriate
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1868 e0336214-984f-0b4b-a45f-81c69e1f0ede
-rw-r--r--include/librfid/rfid_layer2_iso14443a.h4
1 files changed, 2 insertions, 2 deletions
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,
personal git repositories of Harald Welte. Your mileage may vary