1
0
forked from aniani/vim

patch 8.2.5065: wrong return type for main() in tee.c

Problem:    Wrong return type for main() in tee.c.
Solution:   Use "int" instead of "void".  Remove unused variable.
This commit is contained in:
Bram Moolenaar
2022-06-06 22:16:09 +01:00
parent 016188fd8a
commit 739f7998ab
2 changed files with 3 additions and 2 deletions

View File

@@ -78,12 +78,11 @@ myfread(char *buf, int elsize /*ignored*/, int max, FILE *fp)
} }
void int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
int append = 0; int append = 0;
int numfiles; int numfiles;
int opt;
int maxfiles; int maxfiles;
FILE **filepointers; FILE **filepointers;
int i; int i;

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
5065,
/**/ /**/
5064, 5064,
/**/ /**/