Skip to content

Commit 90c94f9

Browse files
committed
fix: resolve Wstrict-prototypes compiler warning
1 parent aa7cbdd commit 90c94f9

17 files changed

Lines changed: 17 additions & 17 deletions

File tree

docs/gfortran.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ These five files together comprise a library which may be used by other librarie
187187
#include <stdio.h>
188188
#include "add.h"
189189
190-
int main() {
190+
int main( void ) {
191191
double sum = add( 1, 2 );
192192
printf( "Result: %.2f\n", sum );
193193
return 0;

lib/node_modules/@stdlib/_tools/licenses/header-regexp-table/test/fixtures/file.c.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
extern double sindg ( double x );
2222

23-
int main() {
23+
int main( void ) {
2424
double x;
2525
double y;
2626

lib/node_modules/@stdlib/_tools/licenses/header-regexp-table/test/fixtures/file.cpp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <iterator>
2222
#include <algorithm>
2323

24-
int main() {
24+
int main( void ) {
2525
using namespace boost::lambda;
2626
typedef std::istream_iterator<int> in;
2727

lib/node_modules/@stdlib/_tools/licenses/header-regexp/test/fixtures/file.c.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
extern double sindg ( double x );
2222

23-
int main() {
23+
int main( void ) {
2424
double x;
2525
double y;
2626

lib/node_modules/@stdlib/_tools/licenses/header-regexp/test/fixtures/file.cpp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <iterator>
2222
#include <algorithm>
2323

24-
int main() {
24+
int main( void ) {
2525
using namespace boost::lambda;
2626
typedef std::istream_iterator<int> in;
2727

lib/node_modules/@stdlib/_tools/lint/license-header-file-list/test/fixtures/bad/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
extern double sindg ( double x );
44

5-
int main() {
5+
int main( void ) {
66
double x;
77
double y;
88

lib/node_modules/@stdlib/_tools/lint/license-header-file-list/test/fixtures/bad/file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <iterator>
44
#include <algorithm>
55

6-
int main() {
6+
int main( void ) {
77
using namespace boost::lambda;
88
typedef std::istream_iterator<int> in;
99

lib/node_modules/@stdlib/_tools/lint/license-header-file-list/test/fixtures/good/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
extern double sindg ( double x );
2222

23-
int main() {
23+
int main( void ) {
2424
double x;
2525
double y;
2626

lib/node_modules/@stdlib/_tools/lint/license-header-file-list/test/fixtures/good/file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <iterator>
2222
#include <algorithm>
2323

24-
int main() {
24+
int main( void ) {
2525
using namespace boost::lambda;
2626
typedef std::istream_iterator<int> in;
2727

lib/node_modules/@stdlib/_tools/lint/license-header-glob/test/fixtures/bad/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
extern double sindg ( double x );
44

5-
int main() {
5+
int main( void ) {
66
double x;
77
double y;
88

0 commit comments

Comments
 (0)