Mercurial > vim
comparison src/proto/option.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 | 54194bd6ed60 |
children | 4eea48b76d03 |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* option.c */ | 1 /* option.c */ |
2 void set_init_1 __ARGS((void)); | 2 void set_init_1(void); |
3 void set_string_default __ARGS((char *name, char_u *val)); | 3 void set_string_default(char *name, char_u *val); |
4 void set_number_default __ARGS((char *name, long val)); | 4 void set_number_default(char *name, long val); |
5 void free_all_options __ARGS((void)); | 5 void free_all_options(void); |
6 void set_init_2 __ARGS((void)); | 6 void set_init_2(void); |
7 void set_init_3 __ARGS((void)); | 7 void set_init_3(void); |
8 void set_helplang_default __ARGS((char_u *lang)); | 8 void set_helplang_default(char_u *lang); |
9 void init_gui_options __ARGS((void)); | 9 void init_gui_options(void); |
10 void set_title_defaults __ARGS((void)); | 10 void set_title_defaults(void); |
11 int do_set __ARGS((char_u *arg, int opt_flags)); | 11 int do_set(char_u *arg, int opt_flags); |
12 void set_options_bin __ARGS((int oldval, int newval, int opt_flags)); | 12 void set_options_bin(int oldval, int newval, int opt_flags); |
13 int get_viminfo_parameter __ARGS((int type)); | 13 int get_viminfo_parameter(int type); |
14 char_u *find_viminfo_parameter __ARGS((int type)); | 14 char_u *find_viminfo_parameter(int type); |
15 void check_options __ARGS((void)); | 15 void check_options(void); |
16 void check_buf_options __ARGS((buf_T *buf)); | 16 void check_buf_options(buf_T *buf); |
17 void free_string_option __ARGS((char_u *p)); | 17 void free_string_option(char_u *p); |
18 void clear_string_option __ARGS((char_u **pp)); | 18 void clear_string_option(char_u **pp); |
19 void set_term_option_alloced __ARGS((char_u **p)); | 19 void set_term_option_alloced(char_u **p); |
20 int was_set_insecurely __ARGS((char_u *opt, int opt_flags)); | 20 int was_set_insecurely(char_u *opt, int opt_flags); |
21 void set_string_option_direct __ARGS((char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid)); | 21 void set_string_option_direct(char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid); |
22 char_u *check_colorcolumn __ARGS((win_T *wp)); | 22 char_u *check_colorcolumn(win_T *wp); |
23 char_u *check_stl_option __ARGS((char_u *s)); | 23 char_u *check_stl_option(char_u *s); |
24 int get_option_value __ARGS((char_u *name, long *numval, char_u **stringval, int opt_flags)); | 24 int get_option_value(char_u *name, long *numval, char_u **stringval, int opt_flags); |
25 int get_option_value_strict __ARGS((char_u *name, long *numval, char_u **stringval, int opt_type, void *from)); | 25 int get_option_value_strict(char_u *name, long *numval, char_u **stringval, int opt_type, void *from); |
26 char_u *option_iter_next __ARGS((void **option, int opt_type)); | 26 char_u *option_iter_next(void **option, int opt_type); |
27 char_u *set_option_value __ARGS((char_u *name, long number, char_u *string, int opt_flags)); | 27 char_u *set_option_value(char_u *name, long number, char_u *string, int opt_flags); |
28 char_u *get_term_code __ARGS((char_u *tname)); | 28 char_u *get_term_code(char_u *tname); |
29 char_u *get_highlight_default __ARGS((void)); | 29 char_u *get_highlight_default(void); |
30 char_u *get_encoding_default __ARGS((void)); | 30 char_u *get_encoding_default(void); |
31 int makeset __ARGS((FILE *fd, int opt_flags, int local_only)); | 31 int makeset(FILE *fd, int opt_flags, int local_only); |
32 int makefoldset __ARGS((FILE *fd)); | 32 int makefoldset(FILE *fd); |
33 void clear_termoptions __ARGS((void)); | 33 void clear_termoptions(void); |
34 void free_termoptions __ARGS((void)); | 34 void free_termoptions(void); |
35 void free_one_termoption __ARGS((char_u *var)); | 35 void free_one_termoption(char_u *var); |
36 void set_term_defaults __ARGS((void)); | 36 void set_term_defaults(void); |
37 void comp_col __ARGS((void)); | 37 void comp_col(void); |
38 void unset_global_local_option __ARGS((char_u *name, void *from)); | 38 void unset_global_local_option(char_u *name, void *from); |
39 char_u *get_equalprg __ARGS((void)); | 39 char_u *get_equalprg(void); |
40 void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to)); | 40 void win_copy_options(win_T *wp_from, win_T *wp_to); |
41 void copy_winopt __ARGS((winopt_T *from, winopt_T *to)); | 41 void copy_winopt(winopt_T *from, winopt_T *to); |
42 void check_win_options __ARGS((win_T *win)); | 42 void check_win_options(win_T *win); |
43 void clear_winopt __ARGS((winopt_T *wop)); | 43 void clear_winopt(winopt_T *wop); |
44 void buf_copy_options __ARGS((buf_T *buf, int flags)); | 44 void buf_copy_options(buf_T *buf, int flags); |
45 void reset_modifiable __ARGS((void)); | 45 void reset_modifiable(void); |
46 void set_iminsert_global __ARGS((void)); | 46 void set_iminsert_global(void); |
47 void set_imsearch_global __ARGS((void)); | 47 void set_imsearch_global(void); |
48 void set_context_in_set_cmd __ARGS((expand_T *xp, char_u *arg, int opt_flags)); | 48 void set_context_in_set_cmd(expand_T *xp, char_u *arg, int opt_flags); |
49 int ExpandSettings __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file)); | 49 int ExpandSettings(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file); |
50 int ExpandOldSetting __ARGS((int *num_file, char_u ***file)); | 50 int ExpandOldSetting(int *num_file, char_u ***file); |
51 int langmap_adjust_mb __ARGS((int c)); | 51 int langmap_adjust_mb(int c); |
52 int has_format_option __ARGS((int x)); | 52 int has_format_option(int x); |
53 int shortmess __ARGS((int x)); | 53 int shortmess(int x); |
54 void vimrc_found __ARGS((char_u *fname, char_u *envname)); | 54 void vimrc_found(char_u *fname, char_u *envname); |
55 void change_compatible __ARGS((int on)); | 55 void change_compatible(int on); |
56 int option_was_set __ARGS((char_u *name)); | 56 int option_was_set(char_u *name); |
57 void reset_option_was_set __ARGS((char_u *name)); | 57 void reset_option_was_set(char_u *name); |
58 int can_bs __ARGS((int what)); | 58 int can_bs(int what); |
59 void save_file_ff __ARGS((buf_T *buf)); | 59 void save_file_ff(buf_T *buf); |
60 int file_ff_differs __ARGS((buf_T *buf, int ignore_empty)); | 60 int file_ff_differs(buf_T *buf, int ignore_empty); |
61 int check_ff_value __ARGS((char_u *p)); | 61 int check_ff_value(char_u *p); |
62 long get_sw_value __ARGS((buf_T *buf)); | 62 long get_sw_value(buf_T *buf); |
63 long get_sts_value __ARGS((void)); | 63 long get_sts_value(void); |
64 void find_mps_values __ARGS((int *initc, int *findc, int *backwards, int switchit)); | 64 void find_mps_values(int *initc, int *findc, int *backwards, int switchit); |
65 unsigned int get_bkc_value __ARGS((buf_T *buf)); | 65 unsigned int get_bkc_value(buf_T *buf); |
66 /* vim: set ft=c : */ | 66 /* vim: set ft=c : */ |