Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Dec 2, 2023
1 parent e63f3e2 commit 42b4acd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/c/benchmark.length.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/**
* Prints the TAP version.
*/
void print_version() {
void print_version( void ) {
printf( "TAP version 13\n" );
}

Expand Down Expand Up @@ -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;
Expand All @@ -85,7 +85,7 @@ double tic() {
*
* @return random number
*/
double rand_double() {
double rand_double( void ) {
int r = rand();
return (double)r / ( (double)RAND_MAX + 1.0 );
}
Expand Down

0 comments on commit 42b4acd

Please sign in to comment.