Skip to content

Commit

Permalink
style: resolve lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Dec 2, 2023
1 parent 0c35964 commit 5a36be3
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 54 deletions.
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
*/
float rand_float() {
float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX + 1.0f );
}
Expand Down
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
*/
float rand_float() {
float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX + 1.0f );
}
Expand Down
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
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
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
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
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
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
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
*/
float rand_float() {
float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX + 1.0f );
}
Expand Down
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
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
*/
float rand_float() {
float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX + 1.0f );
}
Expand Down
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
*/
float rand_float() {
float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX + 1.0f );
}
Expand Down
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
*/
float rand_float() {
float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX + 1.0f );
}
Expand Down
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
*/
float rand_float() {
float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX + 1.0f );
}
Expand Down
Loading

1 comment on commit 5a36be3

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
blas/base/ccopy $\color{green}497/497$
$\color{green}+100.00\%$
$\color{green}31/31$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}497/497$
$\color{green}+100.00\%$
blas/base/cswap $\color{green}572/572$
$\color{green}+100.00\%$
$\color{green}31/31$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}572/572$
$\color{green}+100.00\%$
blas/base/dasum $\color{green}427/427$
$\color{green}+100.00\%$
$\color{green}38/38$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}427/427$
$\color{green}+100.00\%$
blas/base/daxpy $\color{green}466/466$
$\color{green}+100.00\%$
$\color{green}46/46$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}466/466$
$\color{green}+100.00\%$
blas/base/dcopy $\color{green}464/464$
$\color{green}+100.00\%$
$\color{green}43/43$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}464/464$
$\color{green}+100.00\%$
blas/base/ddot $\color{green}454/454$
$\color{green}+100.00\%$
$\color{green}45/45$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}454/454$
$\color{green}+100.00\%$
blas/base/dnrm2 $\color{green}408/408$
$\color{green}+100.00\%$
$\color{green}32/32$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}408/408$
$\color{green}+100.00\%$
blas/base/dscal $\color{green}427/427$
$\color{green}+100.00\%$
$\color{green}41/41$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}427/427$
$\color{green}+100.00\%$
blas/base/dsdot $\color{green}454/454$
$\color{green}+100.00\%$
$\color{green}47/47$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}454/454$
$\color{green}+100.00\%$
blas/base/dswap $\color{green}490/490$
$\color{green}+100.00\%$
$\color{green}44/44$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}490/490$
$\color{green}+100.00\%$
blas/base/sasum $\color{green}377/377$
$\color{green}+100.00\%$
$\color{green}23/23$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}377/377$
$\color{green}+100.00\%$
blas/base/saxpy $\color{green}476/476$
$\color{green}+100.00\%$
$\color{green}46/46$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}476/476$
$\color{green}+100.00\%$
blas/base/scopy $\color{green}464/464$
$\color{green}+100.00\%$
$\color{green}43/43$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}464/464$
$\color{green}+100.00\%$
blas/base/sdot $\color{green}411/411$
$\color{green}+100.00\%$
$\color{green}27/27$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}411/411$
$\color{green}+100.00\%$
blas/base/sdsdot $\color{green}468/468$
$\color{green}+100.00\%$
$\color{green}43/43$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}468/468$
$\color{green}+100.00\%$
blas/base/snrm2 $\color{green}416/416$
$\color{green}+100.00\%$
$\color{green}32/32$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}416/416$
$\color{green}+100.00\%$
blas/base/sscal $\color{green}428/428$
$\color{green}+100.00\%$
$\color{green}41/41$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}428/428$
$\color{green}+100.00\%$
blas/base/sswap $\color{green}490/490$
$\color{green}+100.00\%$
$\color{green}44/44$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}490/490$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.