diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-09-18 12:15:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-18 12:15:08 +0200 |
commit | d2b98ab4ecf168514ae622948e3749dea7671946 (patch) | |
tree | 910b3ff4e4e2f72159addc063adfb27ddd537b11 /src/os_unix.h | |
parent | 820d5525cae707f39571c6abc2aa6a9e66ed171e (diff) |
patch 8.2.3447: a couple of declarations are not ANSI Cv8.2.3447
Problem: A couple of declarations are not ANSI C.
Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
Diffstat (limited to 'src/os_unix.h')
-rw-r--r-- | src/os_unix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.h b/src/os_unix.h index 83fe66d37f..c3a7fec19a 100644 --- 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 |