@@ -165,7 +165,7 @@ static struct BasePRNGObject * mock_prng_allocate( const int32_t seed ) {
165165/**
166166* Prints the TAP version.
167167*/
168- void print_version () {
168+ void print_version ( void ) {
169169 printf ( "TAP version 13\n" );
170170}
171171
@@ -203,7 +203,7 @@ void print_results( double elapsed ) {
203203*
204204* @return clock time
205205*/
206- double tic () {
206+ double tic ( void ) {
207207 struct timeval now ;
208208 gettimeofday ( & now , NULL );
209209 return (double )now .tv_sec + (double )now .tv_usec /1.0e6 ;
@@ -214,7 +214,7 @@ double tic() {
214214*
215215* @return random double
216216*/
217- double rand_double () {
217+ double rand_double ( void ) {
218218 int r = rand ();
219219 return (double )r / ( (double )RAND_MAX + 1.0 );
220220}
@@ -224,7 +224,7 @@ double rand_double() {
224224*
225225* @return elapsed time in seconds
226226*/
227- double benchmark1 () {
227+ double benchmark1 ( void ) {
228228 double elapsed ;
229229 uint64_t v ;
230230 double t ;
@@ -255,7 +255,7 @@ double benchmark1() {
255255*
256256* @return elapsed time in seconds
257257*/
258- double benchmark2 () {
258+ double benchmark2 ( void ) {
259259 double elapsed ;
260260 double t ;
261261 double v ;
@@ -286,7 +286,7 @@ double benchmark2() {
286286*
287287* @return elapsed time in seconds
288288*/
289- double benchmark3 () {
289+ double benchmark3 ( void ) {
290290 double elapsed ;
291291 uint64_t v ;
292292 double t ;
@@ -318,7 +318,7 @@ double benchmark3() {
318318*
319319* @return elapsed time in seconds
320320*/
321- double benchmark4 () {
321+ double benchmark4 ( void ) {
322322 double elapsed ;
323323 uint64_t v ;
324324 double t ;
@@ -350,7 +350,7 @@ double benchmark4() {
350350*
351351* @return elapsed time in seconds
352352*/
353- double benchmark5 () {
353+ double benchmark5 ( void ) {
354354 double elapsed ;
355355 double v ;
356356 double t ;
@@ -382,7 +382,7 @@ double benchmark5() {
382382*
383383* @return elapsed time in seconds
384384*/
385- double benchmark6 () {
385+ double benchmark6 ( void ) {
386386 double elapsed ;
387387 double v ;
388388 double t ;
@@ -414,7 +414,7 @@ double benchmark6() {
414414*
415415* @return elapsed time in seconds
416416*/
417- double benchmark7 () {
417+ double benchmark7 ( void ) {
418418 double elapsed ;
419419 size_t v ;
420420 double t ;
@@ -446,7 +446,7 @@ double benchmark7() {
446446*
447447* @return elapsed time in seconds
448448*/
449- double benchmark8 () {
449+ double benchmark8 ( void ) {
450450 struct BasePRNGObject * out ;
451451 double elapsed ;
452452 double t ;
@@ -481,7 +481,7 @@ double benchmark8() {
481481*
482482* @return elapsed time in seconds
483483*/
484- double benchmark9 () {
484+ double benchmark9 ( void ) {
485485 double elapsed ;
486486 int8_t status ;
487487 double t ;
@@ -520,7 +520,7 @@ double benchmark9() {
520520*
521521* @return elapsed time in seconds
522522*/
523- double benchmark10 () {
523+ double benchmark10 ( void ) {
524524 double elapsed ;
525525 int8_t status ;
526526 double t ;
0 commit comments