summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rfid/rfid_protocol.h4
-rw-r--r--include/rfid/rfid_protocol_mifare_ul.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/include/rfid/rfid_protocol.h b/include/rfid/rfid_protocol.h
index 7d5dcff..c232818 100644
--- a/include/rfid/rfid_protocol.h
+++ b/include/rfid/rfid_protocol.h
@@ -3,11 +3,11 @@
#include <rfid/rfid_layer2.h>
+struct rfid_protocol_handle;
+
#include <rfid/rfid_protocol_tcl.h>
#include <rfid/rfid_protocol_mifare_ul.h>
-struct rfid_protocol_handle;
-
struct rfid_protocol {
struct rfid_protocol *next;
unsigned int id;
diff --git a/include/rfid/rfid_protocol_mifare_ul.h b/include/rfid/rfid_protocol_mifare_ul.h
index 74972ee..729c481 100644
--- a/include/rfid/rfid_protocol_mifare_ul.h
+++ b/include/rfid/rfid_protocol_mifare_ul.h
@@ -1,6 +1,7 @@
#ifndef _RFID_PROTOCOL_MFUL_H
#define _RFID_PROTOCOL_MFUL_H
+#include <rfid/rfid_protocol.h>
#define MIFARE_UL_CMD_WRITE 0xA2
#define MIFARE_UL_CMD_READ 0x30
@@ -15,7 +16,7 @@
struct rfid_protocol rfid_protocol_mful;
-extern int rfid_mful_lock_page(struct rfid_protocol_handle *ph, unsigned int page);
-extern int rfid_mful_lock_otp(struct rfid_protocol_handle *ph);
+int rfid_mful_lock_page(struct rfid_protocol_handle *ph, unsigned int page);
+int rfid_mful_lock_otp(struct rfid_protocol_handle *ph);
#endif
personal git repositories of Harald Welte. Your mileage may vary