mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-01-10 03:27:19 -03:00
pointless touches
This commit is contained in:
parent
0fe541b5fb
commit
41eeb2edb2
5 changed files with 12 additions and 12 deletions
|
@ -54,7 +54,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
static int parsecpuinfo()
|
||||
static int parsecpuinfo(void)
|
||||
{
|
||||
unsigned char cpubitmap[128];
|
||||
|
||||
|
|
12
filters.h
12
filters.h
|
@ -400,7 +400,7 @@ static void filters_add(const char *filter)
|
|||
return;
|
||||
}
|
||||
// attempt to JIT. ignore error
|
||||
(void)pcre2_jit_compile(re,PCRE2_JIT_COMPLETE);
|
||||
(void) pcre2_jit_compile(re,PCRE2_JIT_COMPLETE);
|
||||
struct pcre2filter f;
|
||||
memset(&f,0,sizeof(f));
|
||||
f.re = re;
|
||||
|
@ -414,13 +414,13 @@ static void filters_add(const char *filter)
|
|||
}
|
||||
|
||||
#ifdef NEEDBINFILTER
|
||||
static void filters_dedup()
|
||||
static void filters_dedup(void)
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
#endif // NEEDBINFILTER
|
||||
|
||||
static void filters_prepare()
|
||||
static void filters_prepare(void)
|
||||
{
|
||||
#ifndef PCRE2FILTER
|
||||
if (!quietflag)
|
||||
|
@ -436,7 +436,7 @@ static void filters_prepare()
|
|||
#endif
|
||||
}
|
||||
|
||||
static void filters_clean()
|
||||
static void filters_clean(void)
|
||||
{
|
||||
#ifdef PCRE2FILTER
|
||||
for (size_t i = 0;i < VEC_LENGTH(filters);++i) {
|
||||
|
@ -447,7 +447,7 @@ static void filters_clean()
|
|||
VEC_FREE(filters);
|
||||
}
|
||||
|
||||
static size_t filters_count()
|
||||
static size_t filters_count(void)
|
||||
{
|
||||
return VEC_LENGTH(filters);
|
||||
}
|
||||
|
@ -624,7 +624,7 @@ static void loadfilterfile(const char *fname)
|
|||
}
|
||||
}
|
||||
|
||||
static void filters_print()
|
||||
static void filters_print(void)
|
||||
{
|
||||
if (quietflag)
|
||||
return;
|
||||
|
|
|
@ -30,7 +30,7 @@ struct texttestcase {
|
|||
{"foobar", "666F6F626172", "foobar"},
|
||||
};
|
||||
|
||||
int main()
|
||||
int main(void)
|
||||
{
|
||||
char buf[1024], buf2[1024], mask;
|
||||
size_t r;
|
||||
|
|
|
@ -57,7 +57,7 @@ struct masktestcase {
|
|||
};
|
||||
*/
|
||||
|
||||
int main()
|
||||
int main(void)
|
||||
{
|
||||
char buf[1024], buf2[1024], mask;
|
||||
size_t r;
|
||||
|
|
|
@ -35,7 +35,7 @@ struct pktest {
|
|||
#define SECRETKEYBYTES 64
|
||||
#define PUBLICKEYBYTES 32
|
||||
|
||||
int main()
|
||||
int main(void)
|
||||
{
|
||||
u8 seedbuf[SEEDBYTES];
|
||||
u8 secretbuf1[SECRETKEYBYTES];
|
||||
|
|
Loading…
Reference in a new issue