]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
syntax sugar
authoriceman1001 <iceman@iuse.se>
Sat, 21 Jan 2017 10:34:33 +0000 (11:34 +0100)
committericeman1001 <iceman@iuse.se>
Sat, 21 Jan 2017 10:34:33 +0000 (11:34 +0100)
armsrc/iso14443b.h

index 75fdab550d2e586f77a44bba51e0da3e613aaa8d..f2cf74a565fa2cd8a9456327d62695b21e4f65d1 100644 (file)
 #define __ISO14443B_H
 
 #include "proxmark3.h"
+#include "common.h"
 #include "apps.h"
 #include "util.h"
 #include "string.h"
 #include "iso14443crc.h"
-#include "common.h"
+
 #include "mifare.h"
 #include "protocols.h"
 #include "mifareutil.h"                // access to global variable: MF_DBGLEVEL
 
-extern void AppendCrc14443b(uint8_t *data, int len);
+#ifdef __cplusplus
+extern "C" {
+#endif
 
+extern void AppendCrc14443b(uint8_t *data, int len);
 void SendRawCommand14443B_Ex(UsbCommand *c);
-
 void iso14443b_setup();
 uint8_t iso14443b_apdu(uint8_t const *message, size_t message_length, uint8_t *response);
 uint8_t iso14443b_select_card(iso14b_card_select_t* card);
@@ -45,4 +48,8 @@ void ClearFpgaShiftingRegisters(void);
 #define SIM_ACKNOWLEDGE 5
 #define SIM_WORK               6
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __ISO14443B_H */
Impressum, Datenschutz