Mercurial > vim
comparison src/proto/message.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 | 19040069b8bf |
children | 846d4bad2df7 |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* message.c */ | 1 /* message.c */ |
2 int msg __ARGS((char_u *s)); | 2 int msg(char_u *s); |
3 int verb_msg __ARGS((char_u *s)); | 3 int verb_msg(char_u *s); |
4 int msg_attr __ARGS((char_u *s, int attr)); | 4 int msg_attr(char_u *s, int attr); |
5 int msg_attr_keep __ARGS((char_u *s, int attr, int keep)); | 5 int msg_attr_keep(char_u *s, int attr, int keep); |
6 char_u *msg_strtrunc __ARGS((char_u *s, int force)); | 6 char_u *msg_strtrunc(char_u *s, int force); |
7 void trunc_string __ARGS((char_u *s, char_u *buf, int room, int buflen)); | 7 void trunc_string(char_u *s, char_u *buf, int room, int buflen); |
8 void reset_last_sourcing __ARGS((void)); | 8 void reset_last_sourcing(void); |
9 void msg_source __ARGS((int attr)); | 9 void msg_source(int attr); |
10 int emsg_not_now __ARGS((void)); | 10 int emsg_not_now(void); |
11 int emsg __ARGS((char_u *s)); | 11 int emsg(char_u *s); |
12 int emsg2 __ARGS((char_u *s, char_u *a1)); | 12 int emsg2(char_u *s, char_u *a1); |
13 void emsg_invreg __ARGS((int name)); | 13 void emsg_invreg(int name); |
14 char_u *msg_trunc_attr __ARGS((char_u *s, int force, int attr)); | 14 char_u *msg_trunc_attr(char_u *s, int force, int attr); |
15 char_u *msg_may_trunc __ARGS((int force, char_u *s)); | 15 char_u *msg_may_trunc(int force, char_u *s); |
16 int delete_first_msg __ARGS((void)); | 16 int delete_first_msg(void); |
17 void ex_messages __ARGS((exarg_T *eap)); | 17 void ex_messages(exarg_T *eap); |
18 void msg_end_prompt __ARGS((void)); | 18 void msg_end_prompt(void); |
19 void wait_return __ARGS((int redraw)); | 19 void wait_return(int redraw); |
20 void set_keep_msg __ARGS((char_u *s, int attr)); | 20 void set_keep_msg(char_u *s, int attr); |
21 void set_keep_msg_from_hist __ARGS((void)); | 21 void set_keep_msg_from_hist(void); |
22 void msg_start __ARGS((void)); | 22 void msg_start(void); |
23 void msg_starthere __ARGS((void)); | 23 void msg_starthere(void); |
24 void msg_putchar __ARGS((int c)); | 24 void msg_putchar(int c); |
25 void msg_putchar_attr __ARGS((int c, int attr)); | 25 void msg_putchar_attr(int c, int attr); |
26 void msg_outnum __ARGS((long n)); | 26 void msg_outnum(long n); |
27 void msg_home_replace __ARGS((char_u *fname)); | 27 void msg_home_replace(char_u *fname); |
28 void msg_home_replace_hl __ARGS((char_u *fname)); | 28 void msg_home_replace_hl(char_u *fname); |
29 int msg_outtrans __ARGS((char_u *str)); | 29 int msg_outtrans(char_u *str); |
30 int msg_outtrans_attr __ARGS((char_u *str, int attr)); | 30 int msg_outtrans_attr(char_u *str, int attr); |
31 int msg_outtrans_len __ARGS((char_u *str, int len)); | 31 int msg_outtrans_len(char_u *str, int len); |
32 char_u *msg_outtrans_one __ARGS((char_u *p, int attr)); | 32 char_u *msg_outtrans_one(char_u *p, int attr); |
33 int msg_outtrans_len_attr __ARGS((char_u *msgstr, int len, int attr)); | 33 int msg_outtrans_len_attr(char_u *msgstr, int len, int attr); |
34 void msg_make __ARGS((char_u *arg)); | 34 void msg_make(char_u *arg); |
35 int msg_outtrans_special __ARGS((char_u *strstart, int from)); | 35 int msg_outtrans_special(char_u *strstart, int from); |
36 char_u *str2special_save __ARGS((char_u *str, int is_lhs)); | 36 char_u *str2special_save(char_u *str, int is_lhs); |
37 char_u *str2special __ARGS((char_u **sp, int from)); | 37 char_u *str2special(char_u **sp, int from); |
38 void str2specialbuf __ARGS((char_u *sp, char_u *buf, int len)); | 38 void str2specialbuf(char_u *sp, char_u *buf, int len); |
39 void msg_prt_line __ARGS((char_u *s, int list)); | 39 void msg_prt_line(char_u *s, int list); |
40 void msg_puts __ARGS((char_u *s)); | 40 void msg_puts(char_u *s); |
41 void msg_puts_title __ARGS((char_u *s)); | 41 void msg_puts_title(char_u *s); |
42 void msg_puts_long_attr __ARGS((char_u *longstr, int attr)); | 42 void msg_puts_long_attr(char_u *longstr, int attr); |
43 void msg_puts_long_len_attr __ARGS((char_u *longstr, int len, int attr)); | 43 void msg_puts_long_len_attr(char_u *longstr, int len, int attr); |
44 void msg_puts_attr __ARGS((char_u *s, int attr)); | 44 void msg_puts_attr(char_u *s, int attr); |
45 void may_clear_sb_text __ARGS((void)); | 45 void may_clear_sb_text(void); |
46 void clear_sb_text __ARGS((void)); | 46 void clear_sb_text(void); |
47 void show_sb_text __ARGS((void)); | 47 void show_sb_text(void); |
48 void msg_sb_eol __ARGS((void)); | 48 void msg_sb_eol(void); |
49 int msg_use_printf __ARGS((void)); | 49 int msg_use_printf(void); |
50 void mch_errmsg __ARGS((char *str)); | 50 void mch_errmsg(char *str); |
51 void mch_msg __ARGS((char *str)); | 51 void mch_msg(char *str); |
52 void msg_moremsg __ARGS((int full)); | 52 void msg_moremsg(int full); |
53 void repeat_message __ARGS((void)); | 53 void repeat_message(void); |
54 void msg_clr_eos __ARGS((void)); | 54 void msg_clr_eos(void); |
55 void msg_clr_eos_force __ARGS((void)); | 55 void msg_clr_eos_force(void); |
56 void msg_clr_cmdline __ARGS((void)); | 56 void msg_clr_cmdline(void); |
57 int msg_end __ARGS((void)); | 57 int msg_end(void); |
58 void msg_check __ARGS((void)); | 58 void msg_check(void); |
59 int redirecting __ARGS((void)); | 59 int redirecting(void); |
60 void verbose_enter __ARGS((void)); | 60 void verbose_enter(void); |
61 void verbose_leave __ARGS((void)); | 61 void verbose_leave(void); |
62 void verbose_enter_scroll __ARGS((void)); | 62 void verbose_enter_scroll(void); |
63 void verbose_leave_scroll __ARGS((void)); | 63 void verbose_leave_scroll(void); |
64 void verbose_stop __ARGS((void)); | 64 void verbose_stop(void); |
65 int verbose_open __ARGS((void)); | 65 int verbose_open(void); |
66 void give_warning __ARGS((char_u *message, int hl)); | 66 void give_warning(char_u *message, int hl); |
67 void msg_advance __ARGS((int col)); | 67 void msg_advance(int col); |
68 int do_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd)); | 68 int do_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd); |
69 void display_confirm_msg __ARGS((void)); | 69 void display_confirm_msg(void); |
70 int vim_dialog_yesno __ARGS((int type, char_u *title, char_u *message, int dflt)); | 70 int vim_dialog_yesno(int type, char_u *title, char_u *message, int dflt); |
71 int vim_dialog_yesnocancel __ARGS((int type, char_u *title, char_u *message, int dflt)); | 71 int vim_dialog_yesnocancel(int type, char_u *title, char_u *message, int dflt); |
72 int vim_dialog_yesnoallcancel __ARGS((int type, char_u *title, char_u *message, int dflt)); | 72 int vim_dialog_yesnoallcancel(int type, char_u *title, char_u *message, int dflt); |
73 char_u *do_browse __ARGS((int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf)); | 73 char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf); |
74 /* vim: set ft=c : */ | 74 /* vim: set ft=c : */ |