diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-06 22:16:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-06 22:16:09 +0100 |
commit | 739f7998ab6c2383abbd8bbc7fad35e6bc3e7c43 (patch) | |
tree | c7f768e90a217ad6f98c35d24bf83dfb8c4e424f /src | |
parent | 016188fd8a30cfbaca3faa0daea9a47138dc5c4b (diff) | |
download | vim-git-739f7998ab6c2383abbd8bbc7fad35e6bc3e7c43.tar.gz |
patch 8.2.5065: wrong return type for main() in tee.cv8.2.5065
Problem: Wrong return type for main() in tee.c.
Solution: Use "int" instead of "void". Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/tee/tee.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tee/tee.c b/src/tee/tee.c index ba0e4abd7..bed8bad10 100644 --- a/src/tee/tee.c +++ b/src/tee/tee.c @@ -78,12 +78,11 @@ myfread(char *buf, int elsize /*ignored*/, int max, FILE *fp) } -void +int main(int argc, char *argv[]) { int append = 0; int numfiles; - int opt; int maxfiles; FILE **filepointers; int i; diff --git a/src/version.c b/src/version.c index 6bdc2541a..a131b35a3 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5065, +/**/ 5064, /**/ 5063, |