Patch 8.2.3447
Problem: A couple of declarations are not ANSI C.
Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
Files: src/os_unix.h
*** ../vim-8.2.3446/src/os_unix.h 2021-01-04 10:47:21.698153964 +0100
--- src/os_unix.h 2021-09-18 12:12:37.523312659 +0200
***************
*** 96,106 ****
#ifdef SIGHASARG
# ifdef SIGHAS3ARGS
# define SIGPROTOARG (int, int, struct sigcontext *)
! # define SIGDEFARG(s) (s, sig2, scont) int s, sig2; struct sigcontext
*scont;
# define SIGDUMMYARG 0, 0, (struct sigcontext *)0
# else
# define SIGPROTOARG (int)
! # define SIGDEFARG(s) (s) int s UNUSED;
# define SIGDUMMYARG 0
# endif
#else
--- 96,106 ----
#ifdef SIGHASARG
# ifdef SIGHAS3ARGS
# define SIGPROTOARG (int, int, struct sigcontext *)
! # define SIGDEFARG(s) (int s, int sig2, struct sigcontext *scont)
# define SIGDUMMYARG 0, 0, (struct sigcontext *)0
# else
# define SIGPROTOARG (int)
! # define SIGDEFARG(s) (int s UNUSED)
# define SIGDUMMYARG 0
# endif
#else
*** ../vim-8.2.3446/src/version.c 2021-09-17 21:06:53.124560949 +0200
--- src/version.c 2021-09-18 12:14:35.347071593 +0200
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3447,
/**/
--
Have you heard about the new Beowulf cluster? It's so fast, it executes
an infinite loop in 6 seconds.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202109181015.18IAFoXY2409768%40masaka.moolenaar.net.