Skip to content

Commit ef26954

Browse files
committed
patch 7.4.1133
Problem: Generated function prototypes still have __ARGS(). Solution: Generate function prototypes without __ARGS().
1 parent 99dbe29 commit ef26954

82 files changed

Lines changed: 3087 additions & 3084 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,10 +1361,10 @@ CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
13611361
NO_ATTR=
13621362
#
13631363
# Use this for cproto 3 patchlevel 6 or below (use "cproto -V" to check):
1364-
# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1364+
# PROTO_FLAGS = -f4 -d -E"$(CPP)" $(NO_ATTR)
13651365
#
13661366
# Use this for cproto 3 patchlevel 7 or above (use "cproto -V" to check):
1367-
PROTO_FLAGS = -m -M__ARGS -d -E"$(CPP)" $(NO_ATTR)
1367+
PROTO_FLAGS = -d -E"$(CPP)" $(NO_ATTR)
13681368

13691369

13701370
################################################

src/if_ruby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static void ruby_vim_init(void);
189189
#endif
190190

191191
#if defined(DYNAMIC_RUBY) || defined(PROTO)
192-
# ifdef PROTO
192+
# if defined(PROTO) && !defined(HINSTANCE)
193193
# define HINSTANCE int /* for generating prototypes */
194194
# endif
195195

src/os_win32.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ typedef int CONSOLE_CURSOR_INFO;
101101
typedef int COORD;
102102
typedef int DWORD;
103103
typedef int HANDLE;
104+
typedef int LPHANDLE;
104105
typedef int HDC;
105106
typedef int HFONT;
106107
typedef int HICON;

src/proto/blowfish.pro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* blowfish.c */
2-
void crypt_blowfish_encode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to));
3-
void crypt_blowfish_decode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to));
4-
void crypt_blowfish_init __ARGS((cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len));
5-
int blowfish_self_test __ARGS((void));
2+
void crypt_blowfish_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to);
3+
void crypt_blowfish_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to);
4+
void crypt_blowfish_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len);
5+
int blowfish_self_test(void);
66
/* vim: set ft=c : */

src/proto/buffer.pro

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,71 @@
11
/* buffer.c */
2-
int open_buffer __ARGS((int read_stdin, exarg_T *eap, int flags));
3-
int buf_valid __ARGS((buf_T *buf));
4-
void close_buffer __ARGS((win_T *win, buf_T *buf, int action, int abort_if_last));
5-
void buf_clear_file __ARGS((buf_T *buf));
6-
void buf_freeall __ARGS((buf_T *buf, int flags));
7-
void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count));
8-
void handle_swap_exists __ARGS((buf_T *old_curbuf));
9-
char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit));
10-
int do_buffer __ARGS((int action, int start, int dir, int count, int forceit));
11-
void set_curbuf __ARGS((buf_T *buf, int action));
12-
void enter_buffer __ARGS((buf_T *buf));
13-
void do_autochdir __ARGS((void));
14-
buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags));
15-
void free_buf_options __ARGS((buf_T *buf, int free_p_ff));
16-
int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit));
17-
void buflist_getfpos __ARGS((void));
18-
buf_T *buflist_findname_exp __ARGS((char_u *fname));
19-
buf_T *buflist_findname __ARGS((char_u *ffname));
20-
int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode, int curtab_only));
21-
int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options));
22-
buf_T *buflist_findnr __ARGS((int nr));
23-
char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail));
24-
void get_winopts __ARGS((buf_T *buf));
25-
pos_T *buflist_findfpos __ARGS((buf_T *buf));
26-
linenr_T buflist_findlnum __ARGS((buf_T *buf));
27-
void buflist_list __ARGS((exarg_T *eap));
28-
int buflist_name_nr __ARGS((int fnum, char_u **fname, linenr_T *lnum));
29-
int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int message));
30-
void buf_set_name __ARGS((int fnum, char_u *name));
31-
void buf_name_changed __ARGS((buf_T *buf));
32-
buf_T *setaltfname __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum));
33-
char_u *getaltfname __ARGS((int errmsg));
34-
int buflist_add __ARGS((char_u *fname, int flags));
35-
void buflist_slash_adjust __ARGS((void));
36-
void buflist_altfpos __ARGS((win_T *win));
37-
int otherfile __ARGS((char_u *ffname));
38-
void buf_setino __ARGS((buf_T *buf));
39-
void fileinfo __ARGS((int fullname, int shorthelp, int dont_truncate));
40-
void col_print __ARGS((char_u *buf, size_t buflen, int col, int vcol));
41-
void maketitle __ARGS((void));
42-
void resettitle __ARGS((void));
43-
void free_titles __ARGS((void));
44-
int build_stl_str_hl __ARGS((win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, struct stl_hlrec *hltab, struct stl_hlrec *tabtab));
45-
void get_rel_pos __ARGS((win_T *wp, char_u *buf, int buflen));
46-
char_u *fix_fname __ARGS((char_u *fname));
47-
void fname_expand __ARGS((buf_T *buf, char_u **ffname, char_u **sfname));
48-
char_u *alist_name __ARGS((aentry_T *aep));
49-
void do_arg_all __ARGS((int count, int forceit, int keep_tabs));
50-
void ex_buffer_all __ARGS((exarg_T *eap));
51-
void do_modelines __ARGS((int flags));
52-
int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing));
53-
void write_viminfo_bufferlist __ARGS((FILE *fp));
54-
char_u *buf_spname __ARGS((buf_T *buf));
55-
int find_win_for_buf __ARGS((buf_T *buf, win_T **wp, tabpage_T **tp));
56-
void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr));
57-
linenr_T buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr));
58-
int buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type));
59-
linenr_T buf_delsign __ARGS((buf_T *buf, int id));
60-
int buf_findsign __ARGS((buf_T *buf, int id));
61-
int buf_findsign_id __ARGS((buf_T *buf, linenr_T lnum));
62-
int buf_findsigntype_id __ARGS((buf_T *buf, linenr_T lnum, int typenr));
63-
int buf_signcount __ARGS((buf_T *buf, linenr_T lnum));
64-
void buf_delete_signs __ARGS((buf_T *buf));
65-
void buf_delete_all_signs __ARGS((void));
66-
void sign_list_placed __ARGS((buf_T *rbuf));
67-
void sign_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after));
68-
void set_buflisted __ARGS((int on));
69-
int buf_contents_changed __ARGS((buf_T *buf));
70-
void wipe_buffer __ARGS((buf_T *buf, int aucmd));
2+
int open_buffer(int read_stdin, exarg_T *eap, int flags);
3+
int buf_valid(buf_T *buf);
4+
void close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last);
5+
void buf_clear_file(buf_T *buf);
6+
void buf_freeall(buf_T *buf, int flags);
7+
void goto_buffer(exarg_T *eap, int start, int dir, int count);
8+
void handle_swap_exists(buf_T *old_curbuf);
9+
char_u *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit);
10+
int do_buffer(int action, int start, int dir, int count, int forceit);
11+
void set_curbuf(buf_T *buf, int action);
12+
void enter_buffer(buf_T *buf);
13+
void do_autochdir(void);
14+
buf_T *buflist_new(char_u *ffname, char_u *sfname, linenr_T lnum, int flags);
15+
void free_buf_options(buf_T *buf, int free_p_ff);
16+
int buflist_getfile(int n, linenr_T lnum, int options, int forceit);
17+
void buflist_getfpos(void);
18+
buf_T *buflist_findname_exp(char_u *fname);
19+
buf_T *buflist_findname(char_u *ffname);
20+
int buflist_findpat(char_u *pattern, char_u *pattern_end, int unlisted, int diffmode, int curtab_only);
21+
int ExpandBufnames(char_u *pat, int *num_file, char_u ***file, int options);
22+
buf_T *buflist_findnr(int nr);
23+
char_u *buflist_nr2name(int n, int fullname, int helptail);
24+
void get_winopts(buf_T *buf);
25+
pos_T *buflist_findfpos(buf_T *buf);
26+
linenr_T buflist_findlnum(buf_T *buf);
27+
void buflist_list(exarg_T *eap);
28+
int buflist_name_nr(int fnum, char_u **fname, linenr_T *lnum);
29+
int setfname(buf_T *buf, char_u *ffname, char_u *sfname, int message);
30+
void buf_set_name(int fnum, char_u *name);
31+
void buf_name_changed(buf_T *buf);
32+
buf_T *setaltfname(char_u *ffname, char_u *sfname, linenr_T lnum);
33+
char_u *getaltfname(int errmsg);
34+
int buflist_add(char_u *fname, int flags);
35+
void buflist_slash_adjust(void);
36+
void buflist_altfpos(win_T *win);
37+
int otherfile(char_u *ffname);
38+
void buf_setino(buf_T *buf);
39+
void fileinfo(int fullname, int shorthelp, int dont_truncate);
40+
void col_print(char_u *buf, size_t buflen, int col, int vcol);
41+
void maketitle(void);
42+
void resettitle(void);
43+
void free_titles(void);
44+
int build_stl_str_hl(win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, struct stl_hlrec *hltab, struct stl_hlrec *tabtab);
45+
void get_rel_pos(win_T *wp, char_u *buf, int buflen);
46+
char_u *fix_fname(char_u *fname);
47+
void fname_expand(buf_T *buf, char_u **ffname, char_u **sfname);
48+
char_u *alist_name(aentry_T *aep);
49+
void do_arg_all(int count, int forceit, int keep_tabs);
50+
void ex_buffer_all(exarg_T *eap);
51+
void do_modelines(int flags);
52+
int read_viminfo_bufferlist(vir_T *virp, int writing);
53+
void write_viminfo_bufferlist(FILE *fp);
54+
char_u *buf_spname(buf_T *buf);
55+
int find_win_for_buf(buf_T *buf, win_T **wp, tabpage_T **tp);
56+
void buf_addsign(buf_T *buf, int id, linenr_T lnum, int typenr);
57+
linenr_T buf_change_sign_type(buf_T *buf, int markId, int typenr);
58+
int buf_getsigntype(buf_T *buf, linenr_T lnum, int type);
59+
linenr_T buf_delsign(buf_T *buf, int id);
60+
int buf_findsign(buf_T *buf, int id);
61+
int buf_findsign_id(buf_T *buf, linenr_T lnum);
62+
int buf_findsigntype_id(buf_T *buf, linenr_T lnum, int typenr);
63+
int buf_signcount(buf_T *buf, linenr_T lnum);
64+
void buf_delete_signs(buf_T *buf);
65+
void buf_delete_all_signs(void);
66+
void sign_list_placed(buf_T *rbuf);
67+
void sign_mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after);
68+
void set_buflisted(int on);
69+
int buf_contents_changed(buf_T *buf);
70+
void wipe_buffer(buf_T *buf, int aucmd);
7171
/* vim: set ft=c : */

src/proto/charset.pro

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
11
/* charset.c */
2-
int init_chartab __ARGS((void));
3-
int buf_init_chartab __ARGS((buf_T *buf, int global));
4-
void trans_characters __ARGS((char_u *buf, int bufsize));
5-
char_u *transstr __ARGS((char_u *s));
6-
char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen));
7-
char_u *transchar __ARGS((int c));
8-
char_u *transchar_byte __ARGS((int c));
9-
void transchar_nonprint __ARGS((char_u *buf, int c));
10-
void transchar_hex __ARGS((char_u *buf, int c));
11-
int byte2cells __ARGS((int b));
12-
int char2cells __ARGS((int c));
13-
int ptr2cells __ARGS((char_u *p));
14-
int vim_strsize __ARGS((char_u *s));
15-
int vim_strnsize __ARGS((char_u *s, int len));
16-
int chartabsize __ARGS((char_u *p, colnr_T col));
17-
int linetabsize __ARGS((char_u *s));
18-
int linetabsize_col __ARGS((int startcol, char_u *s));
19-
int win_linetabsize __ARGS((win_T *wp, char_u *line, colnr_T len));
20-
int vim_isIDc __ARGS((int c));
21-
int vim_iswordc __ARGS((int c));
22-
int vim_iswordc_buf __ARGS((int c, buf_T *buf));
23-
int vim_iswordp __ARGS((char_u *p));
24-
int vim_iswordp_buf __ARGS((char_u *p, buf_T *buf));
25-
int vim_isfilec __ARGS((int c));
26-
int vim_isfilec_or_wc __ARGS((int c));
27-
int vim_isprintc __ARGS((int c));
28-
int vim_isprintc_strict __ARGS((int c));
29-
int lbr_chartabsize __ARGS((char_u *line, unsigned char *s, colnr_T col));
30-
int lbr_chartabsize_adv __ARGS((char_u *line, char_u **s, colnr_T col));
31-
int win_lbr_chartabsize __ARGS((win_T *wp, char_u *line, char_u *s, colnr_T col, int *headp));
32-
int in_win_border __ARGS((win_T *wp, colnr_T vcol));
33-
void getvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
34-
colnr_T getvcol_nolist __ARGS((pos_T *posp));
35-
void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
36-
void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right));
37-
char_u *skipwhite __ARGS((char_u *q));
38-
char_u *skipdigits __ARGS((char_u *q));
39-
char_u *skipbin __ARGS((char_u *q));
40-
char_u *skiphex __ARGS((char_u *q));
41-
char_u *skiptobin __ARGS((char_u *q));
42-
char_u *skiptodigit __ARGS((char_u *q));
43-
char_u *skiptohex __ARGS((char_u *q));
44-
int vim_isdigit __ARGS((int c));
45-
int vim_isxdigit __ARGS((int c));
46-
int vim_isbdigit __ARGS((int c));
47-
int vim_islower __ARGS((int c));
48-
int vim_isupper __ARGS((int c));
49-
int vim_toupper __ARGS((int c));
50-
int vim_tolower __ARGS((int c));
51-
char_u *skiptowhite __ARGS((char_u *p));
52-
char_u *skiptowhite_esc __ARGS((char_u *p));
53-
long getdigits __ARGS((char_u **pp));
54-
int vim_isblankline __ARGS((char_u *lbuf));
55-
void vim_str2nr __ARGS((char_u *start, int *prep, int *len, int what, long *nptr, unsigned long *unptr, int maxlen));
56-
int hex2nr __ARGS((int c));
57-
int hexhex2nr __ARGS((char_u *p));
58-
int rem_backslash __ARGS((char_u *str));
59-
void backslash_halve __ARGS((char_u *p));
60-
char_u *backslash_halve_save __ARGS((char_u *p));
61-
void ebcdic2ascii __ARGS((char_u *buffer, int len));
2+
int init_chartab(void);
3+
int buf_init_chartab(buf_T *buf, int global);
4+
void trans_characters(char_u *buf, int bufsize);
5+
char_u *transstr(char_u *s);
6+
char_u *str_foldcase(char_u *str, int orglen, char_u *buf, int buflen);
7+
char_u *transchar(int c);
8+
char_u *transchar_byte(int c);
9+
void transchar_nonprint(char_u *buf, int c);
10+
void transchar_hex(char_u *buf, int c);
11+
int byte2cells(int b);
12+
int char2cells(int c);
13+
int ptr2cells(char_u *p);
14+
int vim_strsize(char_u *s);
15+
int vim_strnsize(char_u *s, int len);
16+
int chartabsize(char_u *p, colnr_T col);
17+
int linetabsize(char_u *s);
18+
int linetabsize_col(int startcol, char_u *s);
19+
int win_linetabsize(win_T *wp, char_u *line, colnr_T len);
20+
int vim_isIDc(int c);
21+
int vim_iswordc(int c);
22+
int vim_iswordc_buf(int c, buf_T *buf);
23+
int vim_iswordp(char_u *p);
24+
int vim_iswordp_buf(char_u *p, buf_T *buf);
25+
int vim_isfilec(int c);
26+
int vim_isfilec_or_wc(int c);
27+
int vim_isprintc(int c);
28+
int vim_isprintc_strict(int c);
29+
int lbr_chartabsize(char_u *line, unsigned char *s, colnr_T col);
30+
int lbr_chartabsize_adv(char_u *line, char_u **s, colnr_T col);
31+
int win_lbr_chartabsize(win_T *wp, char_u *line, char_u *s, colnr_T col, int *headp);
32+
int in_win_border(win_T *wp, colnr_T vcol);
33+
void getvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end);
34+
colnr_T getvcol_nolist(pos_T *posp);
35+
void getvvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end);
36+
void getvcols(win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right);
37+
char_u *skipwhite(char_u *q);
38+
char_u *skipdigits(char_u *q);
39+
char_u *skipbin(char_u *q);
40+
char_u *skiphex(char_u *q);
41+
char_u *skiptobin(char_u *q);
42+
char_u *skiptodigit(char_u *q);
43+
char_u *skiptohex(char_u *q);
44+
int vim_isdigit(int c);
45+
int vim_isxdigit(int c);
46+
int vim_isbdigit(int c);
47+
int vim_islower(int c);
48+
int vim_isupper(int c);
49+
int vim_toupper(int c);
50+
int vim_tolower(int c);
51+
char_u *skiptowhite(char_u *p);
52+
char_u *skiptowhite_esc(char_u *p);
53+
long getdigits(char_u **pp);
54+
int vim_isblankline(char_u *lbuf);
55+
void vim_str2nr(char_u *start, int *prep, int *len, int what, long *nptr, unsigned long *unptr, int maxlen);
56+
int hex2nr(int c);
57+
int hexhex2nr(char_u *p);
58+
int rem_backslash(char_u *str);
59+
void backslash_halve(char_u *p);
60+
char_u *backslash_halve_save(char_u *p);
61+
void ebcdic2ascii(char_u *buffer, int len);
6262
/* vim: set ft=c : */

src/proto/crypt.pro

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
/* crypt.c */
2-
int crypt_method_nr_from_name __ARGS((char_u *name));
3-
int crypt_method_nr_from_magic __ARGS((char *ptr, int len));
4-
int crypt_works_inplace __ARGS((cryptstate_T *state));
5-
int crypt_get_method_nr __ARGS((buf_T *buf));
6-
int crypt_whole_undofile __ARGS((int method_nr));
7-
int crypt_get_header_len __ARGS((int method_nr));
8-
void crypt_set_cm_option __ARGS((buf_T *buf, int method_nr));
9-
int crypt_self_test __ARGS((void));
10-
cryptstate_T *crypt_create __ARGS((int method_nr, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len));
11-
cryptstate_T *crypt_create_from_header __ARGS((int method_nr, char_u *key, char_u *header));
12-
cryptstate_T *crypt_create_from_file __ARGS((FILE *fp, char_u *key));
13-
cryptstate_T *crypt_create_for_writing __ARGS((int method_nr, char_u *key, char_u **header, int *header_len));
14-
void crypt_free_state __ARGS((cryptstate_T *state));
15-
long crypt_encode_alloc __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u **newptr));
16-
long crypt_decode_alloc __ARGS((cryptstate_T *state, char_u *ptr, long len, char_u **newptr));
17-
void crypt_encode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to));
18-
void crypt_decode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to));
19-
void crypt_encode_inplace __ARGS((cryptstate_T *state, char_u *buf, size_t len));
20-
void crypt_decode_inplace __ARGS((cryptstate_T *state, char_u *buf, size_t len));
21-
void crypt_free_key __ARGS((char_u *key));
22-
void crypt_check_method __ARGS((int method));
23-
void crypt_check_current_method __ARGS((void));
24-
char_u *crypt_get_key __ARGS((int store, int twice));
25-
void crypt_append_msg __ARGS((buf_T *buf));
2+
int crypt_method_nr_from_name(char_u *name);
3+
int crypt_method_nr_from_magic(char *ptr, int len);
4+
int crypt_works_inplace(cryptstate_T *state);
5+
int crypt_get_method_nr(buf_T *buf);
6+
int crypt_whole_undofile(int method_nr);
7+
int crypt_get_header_len(int method_nr);
8+
void crypt_set_cm_option(buf_T *buf, int method_nr);
9+
int crypt_self_test(void);
10+
cryptstate_T *crypt_create(int method_nr, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len);
11+
cryptstate_T *crypt_create_from_header(int method_nr, char_u *key, char_u *header);
12+
cryptstate_T *crypt_create_from_file(FILE *fp, char_u *key);
13+
cryptstate_T *crypt_create_for_writing(int method_nr, char_u *key, char_u **header, int *header_len);
14+
void crypt_free_state(cryptstate_T *state);
15+
long crypt_encode_alloc(cryptstate_T *state, char_u *from, size_t len, char_u **newptr);
16+
long crypt_decode_alloc(cryptstate_T *state, char_u *ptr, long len, char_u **newptr);
17+
void crypt_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to);
18+
void crypt_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to);
19+
void crypt_encode_inplace(cryptstate_T *state, char_u *buf, size_t len);
20+
void crypt_decode_inplace(cryptstate_T *state, char_u *buf, size_t len);
21+
void crypt_free_key(char_u *key);
22+
void crypt_check_method(int method);
23+
void crypt_check_current_method(void);
24+
char_u *crypt_get_key(int store, int twice);
25+
void crypt_append_msg(buf_T *buf);
2626
/* vim: set ft=c : */

src/proto/crypt_zip.pro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* crypt_zip.c */
2-
void crypt_zip_init __ARGS((cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len));
3-
void crypt_zip_encode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to));
4-
void crypt_zip_decode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to));
2+
void crypt_zip_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len);
3+
void crypt_zip_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to);
4+
void crypt_zip_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to);
55
/* vim: set ft=c : */

0 commit comments

Comments
 (0)