c/cpp: removed unused args

pull/6238/head
Michael Hirsch, Ph.D 5 years ago
parent ccefc00a59
commit 0494a76340
No known key found for this signature in database
GPG Key ID: 6D23CDADAB0294F9
  1. 2
      manual tests/1 wrap/main.c
  2. 2
      manual tests/10 svn wrap/prog.c
  3. 2
      manual tests/3 git wrap/prog.c
  4. 2
      manual tests/4 standalone binaries/myapp.cpp
  5. 2
      manual tests/5 rpm/main.c
  6. 2
      manual tests/6 hg wrap/prog.c
  7. 2
      manual tests/8 timeout/sleepprog.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");

@ -1,6 +1,6 @@
#include"subproj.h"
int main(int argc, char **argv) {
int main(void) {
subproj_function();
return 0;
}

@ -1,6 +1,6 @@
#include"subproj.h"
int main(int argc, char **argv) {
int main(void) {
subproj_function();
return 0;
}

@ -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;

@ -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);

@ -1,6 +1,6 @@
#include"subproj.h"
int main(int argc, char **argv) {
int main(void) {
subproj_function();
return 0;
}

@ -1,6 +1,6 @@
#include<unistd.h>
int main(int argc, char **argv) {
int main(void) {
sleep(1000);
return 0;
}

Loading…
Cancel
Save