diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/librfid/rfid_asic.h | 2 | ||||
-rw-r--r-- | include/librfid/rfid_layer2.h | 2 | ||||
-rw-r--r-- | include/librfid/rfid_protocol.h | 2 | ||||
-rw-r--r-- | include/librfid/rfid_reader.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/librfid/rfid_asic.h b/include/librfid/rfid_asic.h index 113eb19..8768baf 100644 --- a/include/librfid/rfid_asic.h +++ b/include/librfid/rfid_asic.h @@ -17,7 +17,7 @@ struct rfid_asic_transport { struct rfid_asic_transport_handle { void *data; /* handle to stuff like even lower layers */ - struct rfid_asic_transport *rat; + const struct rfid_asic_transport *rat; }; /* Some implementation-specific data. A reader will specify one of these for diff --git a/include/librfid/rfid_layer2.h b/include/librfid/rfid_layer2.h index 84d4579..45ae953 100644 --- a/include/librfid/rfid_layer2.h +++ b/include/librfid/rfid_layer2.h @@ -76,7 +76,7 @@ struct rfid_layer2_handle { struct iso14443b_handle iso14443b; struct iso15693_handle iso15693; } priv; - struct rfid_layer2 *l2; + const struct rfid_layer2 *l2; }; #endif /* __LIBRFID__ */ diff --git a/include/librfid/rfid_protocol.h b/include/librfid/rfid_protocol.h index 06f704f..ea4dd34 100644 --- a/include/librfid/rfid_protocol.h +++ b/include/librfid/rfid_protocol.h @@ -89,7 +89,7 @@ struct rfid_protocol { struct rfid_protocol_handle { struct rfid_layer2_handle *l2h; - struct rfid_protocol *proto; + const struct rfid_protocol *proto; union { struct tcl_handle tcl; } priv; /* priv has to be last, since diff --git a/include/librfid/rfid_reader.h b/include/librfid/rfid_reader.h index 21b740d..296c66f 100644 --- a/include/librfid/rfid_reader.h +++ b/include/librfid/rfid_reader.h @@ -76,7 +76,7 @@ struct rfid_reader_handle { union { } priv; - struct rfid_reader *reader; + const struct rfid_reader *reader; }; extern struct rfid_reader_handle * |