summaryrefslogtreecommitdiff
path: root/src/winclip.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-01 13:43:36 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-01 13:43:36 +0100
commit1266d678bf2ed5072cca9381409536406f8d7b32 (patch)
tree77b5147921fbb1564b30e05c0a446d39b84ec0c8 /src/winclip.c
parent7c23d1d9d9cc1d3d19fe35708da7c5d5b3556e05 (diff)
downloadvim-git-1266d678bf2ed5072cca9381409536406f8d7b32.tar.gz
patch 8.0.0281: some files are still using ARGSUSED instead of UNUSEDv8.0.0281
Problem: MS-Windows files are still using ARGSUSED while most other files have UNUSED. Solution: Change ARGSUSED to UNUSED or delete it.
Diffstat (limited to 'src/winclip.c')
-rw-r--r--src/winclip.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/winclip.c b/src/winclip.c
index 58755b70d..4bafa8d73 100644
--- 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 */
}