Mercurial > vim
diff src/winclip.c @ 7837:33ba2adb6065
commit https://github.com/vim/vim/commit/b638a7be952544ceb03052c25b84224577a6494b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 21:29:58 2016 +0100
patch 7.4.1215
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 21:30:04 +0100 |
parents | 22d7af9ff3e5 |
children | 563c923b1584 |
line wrap: on
line diff
--- a/src/winclip.c +++ b/src/winclip.c @@ -779,11 +779,11 @@ utf16_to_enc(short_u *str, int *lenp) * The result is in allocated memory: "out[outlen]". With terminating NUL. */ void -acp_to_enc(str, str_size, out, outlen) - char_u *str; - int str_size; - char_u **out; - int *outlen; +acp_to_enc( + char_u *str, + int str_size, + char_u **out, + int *outlen) { LPWSTR widestr; @@ -804,11 +804,11 @@ acp_to_enc(str, str_size, out, outlen) * The result is in allocated memory: "out[outlen]". With terminating NUL. */ void -enc_to_acp(str, str_size, out, outlen) - char_u *str; - int str_size; - char_u **out; - int *outlen; +enc_to_acp( + char_u *str, + int str_size, + char_u **out, + int *outlen) { LPWSTR widestr;