From 99b55a36e4c8258db9e8f1a81ae50314fc08e8e9 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 10 May 2020 14:17:08 +0200 Subject: [PATCH] arm: remove redundant declarations --- armsrc/appmain.h | 1 - armsrc/desfire_crypto.h | 2 -- armsrc/mifarecmd.h | 1 - armsrc/spiffs_config.h | 2 -- 4 files changed, 6 deletions(-) diff --git a/armsrc/appmain.h b/armsrc/appmain.h index 141c943f9..8baff4db1 100644 --- a/armsrc/appmain.h +++ b/armsrc/appmain.h @@ -13,7 +13,6 @@ #include "common.h" -extern const uint8_t OddByteParity[256]; extern int rsamples; // = 0; extern uint8_t trigger; extern bool allow_send_wtx; diff --git a/armsrc/desfire_crypto.h b/armsrc/desfire_crypto.h index 58588cd0d..f8a99a991 100644 --- a/armsrc/desfire_crypto.h +++ b/armsrc/desfire_crypto.h @@ -99,8 +99,6 @@ struct desfire_tag { uint32_t selected_application; }; typedef struct desfire_tag *desfiretag_t; -void crc32_ex(const uint8_t *data, const size_t len, uint8_t *crc); -void crc32_append(uint8_t *data, const size_t len); void des_encrypt(void *out, const void *in, const void *key); void des_decrypt(void *out, const void *in, const void *key); void tdes_nxp_receive(const void *in, void *out, size_t length, const void *key, unsigned char iv[8], int keymode); diff --git a/armsrc/mifarecmd.h b/armsrc/mifarecmd.h index a4bf2b30b..df25521f9 100644 --- a/armsrc/mifarecmd.h +++ b/armsrc/mifarecmd.h @@ -52,7 +52,6 @@ void OnSuccessMagic(); void OnErrorMagic(uint8_t reason); int32_t dist_nt(uint32_t nt1, uint32_t nt2); -void ReaderMifare(bool first_try, uint8_t block, uint8_t keytype); //void RAMFUNC SniffMifare(uint8_t param); void Mifare_DES_Auth1(uint8_t arg0, uint8_t *datain); diff --git a/armsrc/spiffs_config.h b/armsrc/spiffs_config.h index 7710a65a8..0cf3b96f5 100644 --- a/armsrc/spiffs_config.h +++ b/armsrc/spiffs_config.h @@ -18,8 +18,6 @@ #include "string.h" #include "flashmem.h" -void Dbprintf(const char *fmt, ...); - //#include //#include // ----------- >8 ------------