summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/librfid/rfid_protocol.h2
-rw-r--r--include/librfid/rfid_reader.h3
-rw-r--r--include/librfid/rfid_system.h6
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__
personal git repositories of Harald Welte. Your mileage may vary