pointless touches

This commit is contained in:
cathugger 2018-04-27 12:39:16 +00:00
parent 0fe541b5fb
commit 41eeb2edb2
5 changed files with 12 additions and 12 deletions

View file

@ -54,7 +54,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
static int parsecpuinfo()
static int parsecpuinfo(void)
{
unsigned char cpubitmap[128];

View file

@ -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;

View file

@ -30,7 +30,7 @@ struct texttestcase {
{"foobar", "666F6F626172", "foobar"},
};
int main()
int main(void)
{
char buf[1024], buf2[1024], mask;
size_t r;

View file

@ -57,7 +57,7 @@ struct masktestcase {
};
*/
int main()
int main(void)
{
char buf[1024], buf2[1024], mask;
size_t r;

View file

@ -35,7 +35,7 @@ struct pktest {
#define SECRETKEYBYTES 64
#define PUBLICKEYBYTES 32
int main()
int main(void)
{
u8 seedbuf[SEEDBYTES];
u8 secretbuf1[SECRETKEYBYTES];