Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
10782:9b0e9cdb2aac | 10783:04eb70c77cf4 |
---|---|
8 */ | 8 */ |
9 | 9 |
10 /* | 10 /* |
11 * winclip.c | 11 * winclip.c |
12 * | 12 * |
13 * Routines common to both Win16 and Win32 for clipboard handling. | 13 * Routines for Win32 clipboard handling. |
14 * Also used by Cygwin, using os_unix.c. | 14 * Also used by Cygwin, using os_unix.c. |
15 */ | 15 */ |
16 | 16 |
17 #include "vimio.h" | 17 #include "vimio.h" |
18 #include "vim.h" | 18 #include "vim.h" |
212 } VimClipType_t; | 212 } VimClipType_t; |
213 | 213 |
214 /* | 214 /* |
215 * Make vim the owner of the current selection. Return OK upon success. | 215 * Make vim the owner of the current selection. Return OK upon success. |
216 */ | 216 */ |
217 /*ARGSUSED*/ | |
218 int | 217 int |
219 clip_mch_own_selection(VimClipboard *cbd) | 218 clip_mch_own_selection(VimClipboard *cbd UNUSED) |
220 { | 219 { |
221 /* | 220 /* |
222 * Never actually own the clipboard. If another application sets the | 221 * Never actually own the clipboard. If another application sets the |
223 * clipboard, we don't want to think that we still own it. | 222 * clipboard, we don't want to think that we still own it. |
224 */ | 223 */ |
226 } | 225 } |
227 | 226 |
228 /* | 227 /* |
229 * Make vim NOT the owner of the current selection. | 228 * Make vim NOT the owner of the current selection. |
230 */ | 229 */ |
231 /*ARGSUSED*/ | |
232 void | 230 void |
233 clip_mch_lose_selection(VimClipboard *cbd) | 231 clip_mch_lose_selection(VimClipboard *cbd UNUSED) |
234 { | 232 { |
235 /* Nothing needs to be done here */ | 233 /* Nothing needs to be done here */ |
236 } | 234 } |
237 | 235 |
238 /* | 236 /* |