summaryrefslogtreecommitdiff
path: root/manual tests
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-11-26 23:06:51 -0500
committerMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-12-05 23:07:17 -0500
commit0494a763402eada02bdd4d5c211816ac73745eb2 (patch)
tree899a6eba6a9b746a1256b49a2805c8f0593ff570 /manual tests
parentccefc00a59c5766b3ca9db51bae9f1ba7d78e98a (diff)
downloadmeson-0494a763402eada02bdd4d5c211816ac73745eb2.tar.gz
c/cpp: removed unused args
Diffstat (limited to 'manual tests')
-rw-r--r--manual tests/1 wrap/main.c2
-rw-r--r--manual tests/10 svn wrap/prog.c2
-rw-r--r--manual tests/3 git wrap/prog.c2
-rw-r--r--manual tests/4 standalone binaries/myapp.cpp2
-rw-r--r--manual tests/5 rpm/main.c2
-rw-r--r--manual tests/6 hg wrap/prog.c2
-rw-r--r--manual tests/8 timeout/sleepprog.c2
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;
}