Mercurial > vim
diff src/proto/main.pro @ 7668:21b0a39d13ed v7.4.1133
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 19 13:22:12 2016 +0100
patch 7.4.1133
Problem: Generated function prototypes still have __ARGS().
Solution: Generate function prototypes without __ARGS().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jan 2016 13:30:06 +0100 |
parents | 99c1eba60b2d |
children | 43b8570abbec |
line wrap: on
line diff
--- a/src/proto/main.pro +++ b/src/proto/main.pro @@ -1,26 +1,26 @@ /* main.c */ -void main_loop __ARGS((int cmdwin, int noexmode)); -void getout_preserve_modified __ARGS((int exitval)); -void getout __ARGS((int exitval)); -int process_env __ARGS((char_u *env, int is_viminit)); -void mainerr_arg_missing __ARGS((char_u *str)); -void time_push __ARGS((void *tv_rel, void *tv_start)); -void time_pop __ARGS((void *tp)); -void time_msg __ARGS((char *mesg, void *tv_start)); -void server_to_input_buf __ARGS((char_u *str)); -char_u *eval_client_expr_to_string __ARGS((char_u *expr)); -char_u *serverConvert __ARGS((char_u *client_enc, char_u *data, char_u **tofree)); -int toF_TyA __ARGS((int c)); -int fkmap __ARGS((int c)); -void conv_to_pvim __ARGS((void)); -void conv_to_pstd __ARGS((void)); -char_u *lrswap __ARGS((char_u *ibuf)); -char_u *lrFswap __ARGS((char_u *cmdbuf, int len)); -char_u *lrF_sub __ARGS((char_u *ibuf)); -int cmdl_fkmap __ARGS((int c)); -int F_isalpha __ARGS((int c)); -int F_isdigit __ARGS((int c)); -int F_ischar __ARGS((int c)); -void farsi_fkey __ARGS((cmdarg_T *cap)); -int arabic_shape __ARGS((int c, int *ccp, int *c1p, int prev_c, int prev_c1, int next_c)); +void main_loop(int cmdwin, int noexmode); +void getout_preserve_modified(int exitval); +void getout(int exitval); +int process_env(char_u *env, int is_viminit); +void mainerr_arg_missing(char_u *str); +void time_push(void *tv_rel, void *tv_start); +void time_pop(void *tp); +void time_msg(char *mesg, void *tv_start); +void server_to_input_buf(char_u *str); +char_u *eval_client_expr_to_string(char_u *expr); +char_u *serverConvert(char_u *client_enc, char_u *data, char_u **tofree); +int toF_TyA(int c); +int fkmap(int c); +void conv_to_pvim(void); +void conv_to_pstd(void); +char_u *lrswap(char_u *ibuf); +char_u *lrFswap(char_u *cmdbuf, int len); +char_u *lrF_sub(char_u *ibuf); +int cmdl_fkmap(int c); +int F_isalpha(int c); +int F_isdigit(int c); +int F_ischar(int c); +void farsi_fkey(cmdarg_T *cap); +int arabic_shape(int c, int *ccp, int *c1p, int prev_c, int prev_c1, int next_c); /* vim: set ft=c : */