From 1266d678bf2ed5072cca9381409536406f8d7b32 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 1 Feb 2017 13:43:36 +0100 Subject: 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. --- src/winclip.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/winclip.c') 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 */ } -- cgit v1.2.1