aboutsummaryrefslogtreecommitdiff
path: root/manual tests
diff options
context:
space:
mode:
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 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;
}