projects
/
librfid
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ddd01
)
shuffle structure elements to cope with atr[0]
author
Harald Welte
<laforge@gnumonks.org>
Mon, 13 Jun 2005 09:17:31 +0000
(09:17 +0000)
committer
Harald Welte
<laforge@gnumonks.org>
Mon, 13 Jun 2005 09:17:31 +0000
(09:17 +0000)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1208
e0336214
-984f-0b4b-a45f-
81c69e1f0ede
include/rfid/rfid_protocol.h
patch
|
blob
|
history
diff --git
a/include/rfid/rfid_protocol.h
b/include/rfid/rfid_protocol.h
index
93b89c3
..
f9db318
100644
(file)
--- a/
include/rfid/rfid_protocol.h
+++ b/
include/rfid/rfid_protocol.h
@@
-28,10
+28,13
@@
struct rfid_protocol {
struct rfid_protocol_handle {
struct rfid_layer2_handle *l2h;
+ struct rfid_protocol *proto;
union {
struct tcl_handle tcl;
- } priv;
- struct rfid_protocol *proto;
+ } priv; /* priv has to be last, since
+ * it could contain additional
+ * private data over the end of
+ * sizeof(priv). */
};
struct rfid_protocol_handle *