mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
stricter warnings, wip
This commit is contained in:
parent
0cb21c89c3
commit
0e39cb8e34
11 changed files with 20 additions and 16 deletions
|
@ -556,7 +556,7 @@ void SetSIMDInstr(SIMDExecInstr instr) {
|
|||
bitslice_test_nonces_function_p = &bitslice_test_nonces_dispatch;
|
||||
}
|
||||
|
||||
static SIMDExecInstr GetSIMDInstr() {
|
||||
static SIMDExecInstr GetSIMDInstr(void) {
|
||||
SIMDExecInstr instr = SIMD_NONE;
|
||||
|
||||
#if defined (__i386__) || defined (__x86_64__)
|
||||
|
@ -578,7 +578,7 @@ static SIMDExecInstr GetSIMDInstr() {
|
|||
return instr;
|
||||
}
|
||||
|
||||
SIMDExecInstr GetSIMDInstrAuto() {
|
||||
SIMDExecInstr GetSIMDInstrAuto(void) {
|
||||
SIMDExecInstr instr = intSIMDInstr;
|
||||
if (instr == SIMD_AUTO)
|
||||
return GetSIMDInstr();
|
||||
|
|
|
@ -433,7 +433,7 @@ static bool read_bench_data(statelist_t *test_candidates) {
|
|||
}
|
||||
|
||||
|
||||
float brute_force_benchmark() {
|
||||
float brute_force_benchmark(void) {
|
||||
statelist_t test_candidates[NUM_BRUTE_FORCE_THREADS];
|
||||
|
||||
test_candidates[0].states[ODD_STATE] = malloc((TEST_BENCH_SIZE + 1) * sizeof(uint32_t));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue