diff options
author | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2006-10-14 15:22:36 +0000 |
---|---|---|
committer | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2006-10-14 15:22:36 +0000 |
commit | 36751e15b8ac7a0ed5809385645150ffaaf114d1 (patch) | |
tree | f49c8b555c185790462b0a9f47d84156c7bfaef7 /include | |
parent | 9ce76f09417c31a8fc904b67624c0f3b397c21c0 (diff) |
- remove prototypes for already-removed _register() functions from headers
- automatically define LIBRFID_STATIC if LIBRFID_FIRMWARE is set
- remove any references to printf/snprintf
- remove bogus free() in 14443b_init
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1905 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'include')
-rw-r--r-- | include/librfid/rfid_protocol.h | 2 | ||||
-rw-r--r-- | include/librfid/rfid_reader.h | 3 | ||||
-rw-r--r-- | include/librfid/rfid_system.h | 6 |
3 files changed, 5 insertions, 6 deletions
diff --git a/include/librfid/rfid_protocol.h b/include/librfid/rfid_protocol.h index 28fae69..2b02a42 100644 --- a/include/librfid/rfid_protocol.h +++ b/include/librfid/rfid_protocol.h @@ -68,8 +68,6 @@ struct rfid_protocol { } fn; }; -int rfid_protocol_register(struct rfid_protocol *p); - #include <librfid/rfid_protocol_tcl.h> #include <librfid/rfid_protocol_mifare_ul.h> #include <librfid/rfid_protocol_mifare_classic.h> diff --git a/include/librfid/rfid_reader.h b/include/librfid/rfid_reader.h index 2221abd..2a5c2d1 100644 --- a/include/librfid/rfid_reader.h +++ b/include/librfid/rfid_reader.h @@ -63,9 +63,6 @@ struct rfid_reader_handle { struct rfid_reader *reader; }; - -extern int rfid_reader_register(struct rfid_reader *r); - extern struct rfid_reader_handle * rfid_reader_open(void *data, unsigned int id); diff --git a/include/librfid/rfid_system.h b/include/librfid/rfid_system.h index 9b07cf7..7f9c1b3 100644 --- a/include/librfid/rfid_system.h +++ b/include/librfid/rfid_system.h @@ -1,10 +1,14 @@ /* system / environment specific defines */ /* build for openpcd firmware */ -//#define LIBRFID_FIRMWARE +#define LIBRFID_FIRMWARE /* build without dynamic allocations */ +//#define LIBRFID_STATIC +// +#ifdef LIBRFID_FIRMWARE #define LIBRFID_STATIC +#endif #ifdef __LIBRFID__ |