From d7a7a6e901e4d86e7a639a346c4515a4bd50242b Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 2 Dec 2023 13:10:36 +0000 Subject: [PATCH] Auto-generated commit --- .github/.keepalive | 1 - benchmark/c/benchmark.length.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .github/.keepalive diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index cd5134d..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2023-12-01T01:55:25.728Z diff --git a/benchmark/c/benchmark.length.c b/benchmark/c/benchmark.length.c index e3ca816..488eca3 100644 --- a/benchmark/c/benchmark.length.c +++ b/benchmark/c/benchmark.length.c @@ -35,7 +35,7 @@ /** * Prints the TAP version. */ -void print_version() { +void print_version( void ) { printf( "TAP version 13\n" ); } @@ -74,7 +74,7 @@ void print_results( int iterations, double elapsed ) { * * @return clock time */ -double tic() { +double tic( void ) { struct timeval now; gettimeofday( &now, NULL ); return (double)now.tv_sec + (double)now.tv_usec/1.0e6; @@ -85,7 +85,7 @@ double tic() { * * @return random number */ -float rand_float() { +float rand_float( void ) { int r = rand(); return (float)r / ( (float)RAND_MAX + 1.0f ); }