Skip to content

Commit 3e96c3d

Browse files
committed
patch 7.4.1202
Problem: Still one more file still using __ARGS. Solution: Remove __ARGS in the last file. (script by Hirohito Higashi) (closes #612)
1 parent 5698507 commit 3e96c3d

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

src/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,6 +1679,7 @@ PRO_AUTO = \
16791679
normal.pro \
16801680
ops.pro \
16811681
option.pro \
1682+
os_mac_conv.pro \
16821683
os_unix.pro \
16831684
popupmnu.pro \
16841685
pty.pro \

src/os_mac_conv.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
#define BalloonEval int /* used in header files */
1818

1919
#include "vim.h"
20-
#ifndef FEAT_GUI_MAC
20+
21+
#if !defined(FEAT_GUI_MAC) && !defined(PROTO)
2122
# include <CoreServices/CoreServices.h>
2223
#endif
2324

src/proto/os_mac_conv.pro

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/* os_mac_conv.c */
2-
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));
3-
int macroman2enc __ARGS((char_u *ptr, long *sizep, long real_size));
4-
int enc2macroman __ARGS((char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest, int *restlenp));
5-
void mac_conv_init __ARGS((void));
6-
void mac_conv_cleanup __ARGS((void));
7-
char_u *mac_utf16_to_enc __ARGS((unsigned short *from, size_t fromLen, size_t *actualLen));
8-
unsigned short *mac_enc_to_utf16 __ARGS((char_u *from, size_t fromLen, size_t *actualLen));
9-
void * mac_enc_to_cfstring __ARGS((char_u *from, size_t fromLen));
10-
char_u *mac_precompose_path __ARGS((char_u *decompPath, size_t decompLen, size_t *precompLen));
11-
void mac_lang_init __ARGS((void));
2+
char_u *mac_string_convert(char_u *ptr, int len, int *lenp, int fail_on_error, int from_enc, int to_enc, int *unconvlenp);
3+
int macroman2enc(char_u *ptr, long *sizep, long real_size);
4+
int enc2macroman(char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest, int *restlenp);
5+
void mac_conv_init(void);
6+
void mac_conv_cleanup(void);
7+
char_u *mac_utf16_to_enc(unsigned short *from, size_t fromLen, size_t *actualLen);
8+
unsigned short *mac_enc_to_utf16(char_u *from, size_t fromLen, size_t *actualLen);
9+
void *mac_enc_to_cfstring(char_u *from, size_t fromLen);
10+
char_u *mac_precompose_path(char_u *decompPath, size_t decompLen, size_t *precompLen);
11+
void mac_lang_init(void);
1212
/* vim: set ft=c : */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ static char *(features[]) =
746746

747747
static int included_patches[] =
748748
{ /* Add new patch number below this line */
749+
/**/
750+
1202,
749751
/**/
750752
1201,
751753
/**/

0 commit comments

Comments
 (0)