diff options
Diffstat (limited to 'manual tests')
-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 39d3a9aad..df6abe434 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 df38000ec..6e2c4d861 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 df38000ec..6e2c4d861 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 5acde4639..8ddff2736 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 5c4672192..8b1d193ee 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 df38000ec..6e2c4d861 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 e3714828a..8875e126a 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; } |