# HG changeset patch # User Bram Moolenaar # Date 1631961004 -7200 # Node ID 3f5f25f7d8a22439d3ea649a9bb4ac66c4c32461 # Parent 6095577455c51ef278dae4f1d3debe89422ac709 patch 8.2.3447: a couple of declarations are not ANSI C Commit: https://github.com/vim/vim/commit/d2b98ab4ecf168514ae622948e3749dea7671946 Author: Yegappan Lakshmanan Date: Sat Sep 18 12:15:08 2021 +0200 patch 8.2.3447: a couple of declarations are not ANSI C Problem: A couple of declarations are not ANSI C. Solution: Put argument type inside (). (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8890) diff --git a/src/os_unix.h b/src/os_unix.h --- a/src/os_unix.h +++ b/src/os_unix.h @@ -96,11 +96,11 @@ #ifdef SIGHASARG # ifdef SIGHAS3ARGS # define SIGPROTOARG (int, int, struct sigcontext *) -# define SIGDEFARG(s) (s, sig2, scont) int s, sig2; struct sigcontext *scont; +# define SIGDEFARG(s) (int s, int sig2, struct sigcontext *scont) # define SIGDUMMYARG 0, 0, (struct sigcontext *)0 # else # define SIGPROTOARG (int) -# define SIGDEFARG(s) (s) int s UNUSED; +# define SIGDEFARG(s) (int s UNUSED) # define SIGDUMMYARG 0 # endif #else diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3447, +/**/ 3446, /**/ 3445,