Mercurial > vim
diff src/winclip.c @ 10783:04eb70c77cf4 v8.0.0281
patch 8.0.0281: some files are still using ARGSUSED instead of UNUSED
commit https://github.com/vim/vim/commit/1266d678bf2ed5072cca9381409536406f8d7b32
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 1 13:43:36 2017 +0100
patch 8.0.0281: some files are still using ARGSUSED instead of UNUSED
Problem: MS-Windows files are still using ARGSUSED while most other files
have UNUSED.
Solution: Change ARGSUSED to UNUSED or delete it.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Feb 2017 13:45:04 +0100 |
parents | 4aead6a9b7a9 |
children | 62b3805506b3 |
line wrap: on
line diff
--- a/src/winclip.c +++ b/src/winclip.c @@ -10,7 +10,7 @@ /* * winclip.c * - * Routines common to both Win16 and Win32 for clipboard handling. + * Routines for Win32 clipboard handling. * Also used by Cygwin, using os_unix.c. */ @@ -214,9 +214,8 @@ typedef struct /* * Make vim the owner of the current selection. Return OK upon success. */ -/*ARGSUSED*/ int -clip_mch_own_selection(VimClipboard *cbd) +clip_mch_own_selection(VimClipboard *cbd UNUSED) { /* * Never actually own the clipboard. If another application sets the @@ -228,9 +227,8 @@ clip_mch_own_selection(VimClipboard *cbd /* * Make vim NOT the owner of the current selection. */ -/*ARGSUSED*/ void -clip_mch_lose_selection(VimClipboard *cbd) +clip_mch_lose_selection(VimClipboard *cbd UNUSED) { /* Nothing needs to be done here */ }