To: vim_dev@googlegroups.com Subject: Patch 8.2.3447 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///