Skip to content

Commit 6891f66

Browse files
committed
Fix strict function declaration prototype warnings
1 parent 8508123 commit 6891f66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Whirlpool.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@ static void display(const u8 array[], int length) {
17151715
* 2. hashing all 512-bit strings containing a single set bit;
17161716
* 3. the iterated hashing of the 512-bit string of zero bits a large number of times.
17171717
*/
1718-
void makeNESSIETestVectors() {
1718+
void makeNESSIETestVectors(void) {
17191719
int i;
17201720
struct NESSIEstruct w;
17211721
u8 digest[DIGESTBYTES];
@@ -1758,7 +1758,7 @@ void makeNESSIETestVectors() {
17581758
/*
17591759
#define TIMING_ITERATIONS 100000
17601760
1761-
static void timing() {
1761+
static void timing(void) {
17621762
int i;
17631763
NESSIEstruct w;
17641764
u8 digest[DIGESTBYTES];
@@ -1842,7 +1842,7 @@ void testAPI(void) {
18421842
printf("No error detected.\n");
18431843
}
18441844

1845-
void makeISOTestVectors() {
1845+
void makeISOTestVectors(void) {
18461846
struct NESSIEstruct w;
18471847
u8 digest[DIGESTBYTES];
18481848
static u8 data[1000000];
@@ -1920,7 +1920,7 @@ void makeISOTestVectors() {
19201920
}
19211921

19221922
#ifdef TRACE_INTERMEDIATE_VALUES
1923-
static void makeIntermediateValues() {
1923+
static void makeIntermediateValues(void) {
19241924
struct NESSIEstruct w;
19251925
u8 digest[DIGESTBYTES];
19261926

0 commit comments

Comments
 (0)