patch 7.4.1215
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
diff --git a/src/winclip.c b/src/winclip.c
index f34c7d9..8ab723f 100644
--- a/src/winclip.c
+++ b/src/winclip.c
@@ -779,11 +779,11 @@
* 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 @@
* 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;