make sure all .c include their own .h

This commit is contained in:
Philippe Teuwen 2019-10-26 18:56:36 +02:00
commit 129b1c4b1f
5 changed files with 6 additions and 1 deletions

View file

@ -6,6 +6,8 @@
// Fonts for the LCD
//-----------------------------------------------------------------------------
#include "fonts.h"
const char FONT6x8[97][8] = {
{0x06, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00}, // columns, rows, bytes per char
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // space

View file

@ -1,3 +1,4 @@
#include "hfsnoop.h"
#include "proxmark3_arm.h"
#include "BigBuf.h"
#include "fpgaloader.h"

View file

@ -9,6 +9,7 @@
//-----------------------------------------------------------------------------
// LEGIC RF simulation code
//-----------------------------------------------------------------------------
#include "legicrfsim.h"
#include "legicrf.h"
#include "crc.h" /* legic crc-4 */

View file

@ -1,3 +1,4 @@
#include "hash1_brute.h"
#include <stdio.h>
#include "cipherutils.h"
#include <stdint.h>
@ -54,7 +55,7 @@ static void calc_score(uint8_t *csn, uint8_t *k) {
}
}
static void brute_hash1(void) {
void brute_hash1(void) {
uint16_t a, b, c, d;
uint8_t csn[8] = {0, 0, 0, 0, 0xf7, 0xff, 0x12, 0xe0};
uint8_t k[8] = {0, 0, 0, 0, 0, 0, 0, 0};