Mercurial > vim
comparison src/proto/os_unix.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 | befbed72da87 |
children | b74549818500 |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* os_unix.c */ | 1 /* os_unix.c */ |
2 int mch_chdir __ARGS((char *path)); | 2 int mch_chdir(char *path); |
3 void mch_write __ARGS((char_u *s, int len)); | 3 void mch_write(char_u *s, int len); |
4 int mch_inchar __ARGS((char_u *buf, int maxlen, long wtime, int tb_change_cnt)); | 4 int mch_inchar(char_u *buf, int maxlen, long wtime, int tb_change_cnt); |
5 int mch_char_avail __ARGS((void)); | 5 int mch_char_avail(void); |
6 long_u mch_total_mem __ARGS((int special)); | 6 long_u mch_total_mem(int special); |
7 void mch_delay __ARGS((long msec, int ignoreinput)); | 7 void mch_delay(long msec, int ignoreinput); |
8 int mch_stackcheck __ARGS((char *p)); | 8 int mch_stackcheck(char *p); |
9 void mch_startjmp __ARGS((void)); | 9 void mch_startjmp(void); |
10 void mch_endjmp __ARGS((void)); | 10 void mch_endjmp(void); |
11 void mch_didjmp __ARGS((void)); | 11 void mch_didjmp(void); |
12 void mch_suspend __ARGS((void)); | 12 void mch_suspend(void); |
13 void mch_init __ARGS((void)); | 13 void mch_init(void); |
14 void reset_signals __ARGS((void)); | 14 void reset_signals(void); |
15 int vim_handle_signal __ARGS((int sig)); | 15 int vim_handle_signal(int sig); |
16 int mch_check_win __ARGS((int argc, char **argv)); | 16 int mch_check_win(int argc, char **argv); |
17 int mch_input_isatty __ARGS((void)); | 17 int mch_input_isatty(void); |
18 int mch_can_restore_title __ARGS((void)); | 18 int mch_can_restore_title(void); |
19 int mch_can_restore_icon __ARGS((void)); | 19 int mch_can_restore_icon(void); |
20 void mch_settitle __ARGS((char_u *title, char_u *icon)); | 20 void mch_settitle(char_u *title, char_u *icon); |
21 void mch_restore_title __ARGS((int which)); | 21 void mch_restore_title(int which); |
22 int vim_is_xterm __ARGS((char_u *name)); | 22 int vim_is_xterm(char_u *name); |
23 int use_xterm_like_mouse __ARGS((char_u *name)); | 23 int use_xterm_like_mouse(char_u *name); |
24 int use_xterm_mouse __ARGS((void)); | 24 int use_xterm_mouse(void); |
25 int vim_is_iris __ARGS((char_u *name)); | 25 int vim_is_iris(char_u *name); |
26 int vim_is_vt300 __ARGS((char_u *name)); | 26 int vim_is_vt300(char_u *name); |
27 int vim_is_fastterm __ARGS((char_u *name)); | 27 int vim_is_fastterm(char_u *name); |
28 int mch_get_user_name __ARGS((char_u *s, int len)); | 28 int mch_get_user_name(char_u *s, int len); |
29 int mch_get_uname __ARGS((uid_t uid, char_u *s, int len)); | 29 int mch_get_uname(uid_t uid, char_u *s, int len); |
30 void mch_get_host_name __ARGS((char_u *s, int len)); | 30 void mch_get_host_name(char_u *s, int len); |
31 long mch_get_pid __ARGS((void)); | 31 long mch_get_pid(void); |
32 int mch_dirname __ARGS((char_u *buf, int len)); | 32 int mch_dirname(char_u *buf, int len); |
33 int mch_FullName __ARGS((char_u *fname, char_u *buf, int len, int force)); | 33 int mch_FullName(char_u *fname, char_u *buf, int len, int force); |
34 int mch_isFullName __ARGS((char_u *fname)); | 34 int mch_isFullName(char_u *fname); |
35 void fname_case __ARGS((char_u *name, int len)); | 35 void fname_case(char_u *name, int len); |
36 long mch_getperm __ARGS((char_u *name)); | 36 long mch_getperm(char_u *name); |
37 int mch_setperm __ARGS((char_u *name, long perm)); | 37 int mch_setperm(char_u *name, long perm); |
38 void mch_copy_sec __ARGS((char_u *from_file, char_u *to_file)); | 38 void mch_copy_sec(char_u *from_file, char_u *to_file); |
39 vim_acl_T mch_get_acl __ARGS((char_u *fname)); | 39 vim_acl_T mch_get_acl(char_u *fname); |
40 void mch_set_acl __ARGS((char_u *fname, vim_acl_T aclent)); | 40 void mch_set_acl(char_u *fname, vim_acl_T aclent); |
41 void mch_free_acl __ARGS((vim_acl_T aclent)); | 41 void mch_free_acl(vim_acl_T aclent); |
42 void mch_hide __ARGS((char_u *name)); | 42 void mch_hide(char_u *name); |
43 int mch_isdir __ARGS((char_u *name)); | 43 int mch_isdir(char_u *name); |
44 int mch_isrealdir __ARGS((char_u *name)); | 44 int mch_isrealdir(char_u *name); |
45 int mch_can_exe __ARGS((char_u *name, char_u **path, int use_path)); | 45 int mch_can_exe(char_u *name, char_u **path, int use_path); |
46 int mch_nodetype __ARGS((char_u *name)); | 46 int mch_nodetype(char_u *name); |
47 void mch_early_init __ARGS((void)); | 47 void mch_early_init(void); |
48 void mch_free_mem __ARGS((void)); | 48 void mch_free_mem(void); |
49 void mch_exit __ARGS((int r)); | 49 void mch_exit(int r); |
50 void mch_settmode __ARGS((int tmode)); | 50 void mch_settmode(int tmode); |
51 void get_stty __ARGS((void)); | 51 void get_stty(void); |
52 void mch_setmouse __ARGS((int on)); | 52 void mch_setmouse(int on); |
53 void check_mouse_termcode __ARGS((void)); | 53 void check_mouse_termcode(void); |
54 int mch_screenmode __ARGS((char_u *arg)); | 54 int mch_screenmode(char_u *arg); |
55 int mch_get_shellsize __ARGS((void)); | 55 int mch_get_shellsize(void); |
56 void mch_set_shellsize __ARGS((void)); | 56 void mch_set_shellsize(void); |
57 void mch_new_shellsize __ARGS((void)); | 57 void mch_new_shellsize(void); |
58 int mch_call_shell __ARGS((char_u *cmd, int options)); | 58 int mch_call_shell(char_u *cmd, int options); |
59 void mch_breakcheck __ARGS((void)); | 59 void mch_breakcheck(void); |
60 int mch_expandpath __ARGS((garray_T *gap, char_u *path, int flags)); | 60 int mch_expandpath(garray_T *gap, char_u *path, int flags); |
61 int mch_expand_wildcards __ARGS((int num_pat, char_u **pat, int *num_file, char_u ***file, int flags)); | 61 int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags); |
62 int mch_has_exp_wildcard __ARGS((char_u *p)); | 62 int mch_has_exp_wildcard(char_u *p); |
63 int mch_has_wildcard __ARGS((char_u *p)); | 63 int mch_has_wildcard(char_u *p); |
64 int mch_libcall __ARGS((char_u *libname, char_u *funcname, char_u *argstring, int argint, char_u **string_result, int *number_result)); | 64 int mch_libcall(char_u *libname, char_u *funcname, char_u *argstring, int argint, char_u **string_result, int *number_result); |
65 void setup_term_clip __ARGS((void)); | 65 void setup_term_clip(void); |
66 void start_xterm_trace __ARGS((int button)); | 66 void start_xterm_trace(int button); |
67 void stop_xterm_trace __ARGS((void)); | 67 void stop_xterm_trace(void); |
68 void clear_xterm_clip __ARGS((void)); | 68 void clear_xterm_clip(void); |
69 int clip_xterm_own_selection __ARGS((VimClipboard *cbd)); | 69 int clip_xterm_own_selection(VimClipboard *cbd); |
70 void clip_xterm_lose_selection __ARGS((VimClipboard *cbd)); | 70 void clip_xterm_lose_selection(VimClipboard *cbd); |
71 void clip_xterm_request_selection __ARGS((VimClipboard *cbd)); | 71 void clip_xterm_request_selection(VimClipboard *cbd); |
72 void clip_xterm_set_selection __ARGS((VimClipboard *cbd)); | 72 void clip_xterm_set_selection(VimClipboard *cbd); |
73 int xsmp_handle_requests __ARGS((void)); | 73 int xsmp_handle_requests(void); |
74 void xsmp_init __ARGS((void)); | 74 void xsmp_init(void); |
75 void xsmp_close __ARGS((void)); | 75 void xsmp_close(void); |
76 /* vim: set ft=c : */ | 76 /* vim: set ft=c : */ |