0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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 #8890)
This commit is contained in:
Yegappan Lakshmanan 2021-09-18 12:15:08 +02:00 committed by Bram Moolenaar
parent 820d5525ca
commit d2b98ab4ec
2 changed files with 4 additions and 2 deletions

View File

@ -96,11 +96,11 @@
#ifdef SIGHASARG #ifdef SIGHASARG
# ifdef SIGHAS3ARGS # ifdef SIGHAS3ARGS
# define SIGPROTOARG (int, int, struct sigcontext *) # 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 # define SIGDUMMYARG 0, 0, (struct sigcontext *)0
# else # else
# define SIGPROTOARG (int) # define SIGPROTOARG (int)
# define SIGDEFARG(s) (s) int s UNUSED; # define SIGDEFARG(s) (int s UNUSED)
# define SIGDUMMYARG 0 # define SIGDUMMYARG 0
# endif # endif
#else #else

View File

@ -757,6 +757,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 */
/**/
3447,
/**/ /**/
3446, 3446,
/**/ /**/