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>
int
main()
main(void)
{
char *cp;
Display *dpy;

View File

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

View File

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