# HG changeset patch # User Christian Brabandt # Date 1454108405 -3600 # Node ID 7fda54504fee2c83decc5e7f35ef60a0106ae941 # Parent 385d3477ab8e258e436f7b3ce3425b28ee4f93a1 commit https://github.com/vim/vim/commit/3e96c3d241ab657cf4df0913ea8de50a6cb90730 Author: Bram Moolenaar Date: Fri Jan 29 23:46:21 2016 +0100 patch 7.4.1202 Problem: Still one more file still using __ARGS. Solution: Remove __ARGS in the last file. (script by Hirohito Higashi) (closes https://github.com/vim/vim/issues/612) diff --git a/src/Makefile b/src/Makefile --- a/src/Makefile +++ b/src/Makefile @@ -1679,6 +1679,7 @@ PRO_AUTO = \ normal.pro \ ops.pro \ option.pro \ + os_mac_conv.pro \ os_unix.pro \ popupmnu.pro \ pty.pro \ diff --git a/src/os_mac_conv.c b/src/os_mac_conv.c --- a/src/os_mac_conv.c +++ b/src/os_mac_conv.c @@ -17,7 +17,8 @@ #define BalloonEval int /* used in header files */ #include "vim.h" -#ifndef FEAT_GUI_MAC + +#if !defined(FEAT_GUI_MAC) && !defined(PROTO) # include #endif diff --git a/src/proto/os_mac_conv.pro b/src/proto/os_mac_conv.pro --- a/src/proto/os_mac_conv.pro +++ b/src/proto/os_mac_conv.pro @@ -1,12 +1,12 @@ /* os_mac_conv.c */ -char_u *mac_string_convert __ARGS((char_u *ptr, int len, int *lenp, int fail_on_error, int from_enc, int to_enc, int *unconvlenp)); -int macroman2enc __ARGS((char_u *ptr, long *sizep, long real_size)); -int enc2macroman __ARGS((char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest, int *restlenp)); -void mac_conv_init __ARGS((void)); -void mac_conv_cleanup __ARGS((void)); -char_u *mac_utf16_to_enc __ARGS((unsigned short *from, size_t fromLen, size_t *actualLen)); -unsigned short *mac_enc_to_utf16 __ARGS((char_u *from, size_t fromLen, size_t *actualLen)); -void * mac_enc_to_cfstring __ARGS((char_u *from, size_t fromLen)); -char_u *mac_precompose_path __ARGS((char_u *decompPath, size_t decompLen, size_t *precompLen)); -void mac_lang_init __ARGS((void)); +char_u *mac_string_convert(char_u *ptr, int len, int *lenp, int fail_on_error, int from_enc, int to_enc, int *unconvlenp); +int macroman2enc(char_u *ptr, long *sizep, long real_size); +int enc2macroman(char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest, int *restlenp); +void mac_conv_init(void); +void mac_conv_cleanup(void); +char_u *mac_utf16_to_enc(unsigned short *from, size_t fromLen, size_t *actualLen); +unsigned short *mac_enc_to_utf16(char_u *from, size_t fromLen, size_t *actualLen); +void *mac_enc_to_cfstring(char_u *from, size_t fromLen); +char_u *mac_precompose_path(char_u *decompPath, size_t decompLen, size_t *precompLen); +void mac_lang_init(void); /* vim: set ft=c : */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1202, +/**/ 1201, /**/ 1200,