Use main(void) when not taking arguments

This commit is contained in:
Rene Kita
2021-09-02 21:09:42 +02:00
parent 84f724a590
commit dad5cbe83b
3 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@
#include <stdio.h> #include <stdio.h>
int int
main() main(void)
{ {
char *cp; char *cp;
Display *dpy; Display *dpy;

View File

@@ -181,7 +181,7 @@ insert_bookmark(char *bmark, struct parsed_tagarg *data)
} }
int int
main(int argc, char *argv[]) main(void)
{ {
extern char *getenv(); extern char *getenv();
char *p; char *p;

View File

@@ -164,7 +164,7 @@ editMailcap(char *mailcap, struct parsed_tagarg *args)
} }
int int
main(int argc, char *argv[]) main(void)
{ {
Str mailcapfile; Str mailcapfile;
extern char *getenv(); extern char *getenv();