1
0
forked from aniani/vim

patch 7.4.1215

Problem:    Using old style function declarations.
Solution:   Change to new style function declarations. (script by Hirohito
            Higashi)
This commit is contained in:
Bram Moolenaar
2016-01-30 21:29:58 +01:00
parent 764b23c8fd
commit b638a7be95
9 changed files with 324 additions and 458 deletions

View File

@@ -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;