diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-11-26 23:06:51 -0500 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-12-05 23:07:17 -0500 |
commit | 0494a763402eada02bdd4d5c211816ac73745eb2 (patch) | |
tree | 899a6eba6a9b746a1256b49a2805c8f0593ff570 | |
parent | ccefc00a59c5766b3ca9db51bae9f1ba7d78e98a (diff) | |
download | meson-0494a763402eada02bdd4d5c211816ac73745eb2.zip meson-0494a763402eada02bdd4d5c211816ac73745eb2.tar.gz meson-0494a763402eada02bdd4d5c211816ac73745eb2.tar.bz2 |
c/cpp: removed unused args
-rw-r--r-- | manual tests/1 wrap/main.c | 2 | ||||
-rw-r--r-- | manual tests/10 svn wrap/prog.c | 2 | ||||
-rw-r--r-- | manual tests/3 git wrap/prog.c | 2 | ||||
-rw-r--r-- | manual tests/4 standalone binaries/myapp.cpp | 2 | ||||
-rw-r--r-- | manual tests/5 rpm/main.c | 2 | ||||
-rw-r--r-- | manual tests/6 hg wrap/prog.c | 2 | ||||
-rw-r--r-- | manual tests/8 timeout/sleepprog.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/manual tests/1 wrap/main.c b/manual tests/1 wrap/main.c index 39d3a9a..df6abe4 100644 --- a/manual tests/1 wrap/main.c +++ b/manual tests/1 wrap/main.c @@ -1,7 +1,7 @@ #include<sqlite3.h> #include<stdio.h> -int main(int argc, char **argv) { +int main(void) { sqlite3 *db; if(sqlite3_open(":memory:", &db) != SQLITE_OK) { printf("Sqlite failed.\n"); diff --git a/manual tests/10 svn wrap/prog.c b/manual tests/10 svn wrap/prog.c index df38000..6e2c4d8 100644 --- a/manual tests/10 svn wrap/prog.c +++ b/manual tests/10 svn wrap/prog.c @@ -1,6 +1,6 @@ #include"subproj.h" -int main(int argc, char **argv) { +int main(void) { subproj_function(); return 0; } diff --git a/manual tests/3 git wrap/prog.c b/manual tests/3 git wrap/prog.c index df38000..6e2c4d8 100644 --- a/manual tests/3 git wrap/prog.c +++ b/manual tests/3 git wrap/prog.c @@ -1,6 +1,6 @@ #include"subproj.h" -int main(int argc, char **argv) { +int main(void) { subproj_function(); return 0; } diff --git a/manual tests/4 standalone binaries/myapp.cpp b/manual tests/4 standalone binaries/myapp.cpp index 5acde46..8ddff27 100644 --- a/manual tests/4 standalone binaries/myapp.cpp +++ b/manual tests/4 standalone binaries/myapp.cpp @@ -3,7 +3,7 @@ #include<iostream> #include<string> -int main(int argc, char *argv[]) { +int main(void) { SDL_Surface *screenSurface; SDL_Event e; int keepGoing = 1; diff --git a/manual tests/5 rpm/main.c b/manual tests/5 rpm/main.c index 5c46721..8b1d193 100644 --- a/manual tests/5 rpm/main.c +++ b/manual tests/5 rpm/main.c @@ -1,6 +1,6 @@ #include<lib.h> #include<stdio.h> -int main(int argc, char **argv) +int main(void) { char *t = meson_print(); printf("%s", t); diff --git a/manual tests/6 hg wrap/prog.c b/manual tests/6 hg wrap/prog.c index df38000..6e2c4d8 100644 --- a/manual tests/6 hg wrap/prog.c +++ b/manual tests/6 hg wrap/prog.c @@ -1,6 +1,6 @@ #include"subproj.h" -int main(int argc, char **argv) { +int main(void) { subproj_function(); return 0; } diff --git a/manual tests/8 timeout/sleepprog.c b/manual tests/8 timeout/sleepprog.c index e371482..8875e12 100644 --- a/manual tests/8 timeout/sleepprog.c +++ b/manual tests/8 timeout/sleepprog.c @@ -1,6 +1,6 @@ #include<unistd.h> -int main(int argc, char **argv) { +int main(void) { sleep(1000); return 0; } |