diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-10 21:27:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-10 21:27:18 +0200 |
commit | 840d16fd36bfd1a9fac8200e3dc016b1e3f9c328 (patch) | |
tree | e0b85aeb6c3da97a0f8096ef934372f9b297ba7b /src/proto | |
parent | d20dcb3d011da6111153109f6e46fbd5c7fe9fb6 (diff) | |
download | vim-git-840d16fd36bfd1a9fac8200e3dc016b1e3f9c328.tar.gz |
patch 8.1.2021: some global functions can be local to the filev8.1.2021
Problem: Some global functions can be local to the file.
Solution: Add "static". (Yegappan Lakshmanan, closes #4917)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/ex_cmds2.pro | 4 | ||||
-rw-r--r-- | src/proto/filepath.pro | 1 | ||||
-rw-r--r-- | src/proto/hangulin.pro | 1 | ||||
-rw-r--r-- | src/proto/mbyte.pro | 1 | ||||
-rw-r--r-- | src/proto/misc1.pro | 1 | ||||
-rw-r--r-- | src/proto/os_unix.pro | 1 | ||||
-rw-r--r-- | src/proto/terminal.pro | 1 | ||||
-rw-r--r-- | src/proto/undo.pro | 2 |
8 files changed, 0 insertions, 12 deletions
diff --git a/src/proto/ex_cmds2.pro b/src/proto/ex_cmds2.pro index 2ecda169f..9f694da93 100644 --- a/src/proto/ex_cmds2.pro +++ b/src/proto/ex_cmds2.pro @@ -2,11 +2,7 @@ long proftime_time_left(proftime_T *due, proftime_T *now); timer_T *create_timer(long msec, int repeat); long check_due_timer(void); -timer_T *find_timer(long id); void stop_timer(timer_T *timer); -void stop_all_timers(void); -void add_timer_info(typval_T *rettv, timer_T *timer); -void add_timer_info_all(typval_T *rettv); int set_ref_in_timer(int copyID); void timer_free_all(void); void f_timer_info(typval_T *argvars, typval_T *rettv); diff --git a/src/proto/filepath.pro b/src/proto/filepath.pro index 405c8b5f6..bfb3ffb10 100644 --- a/src/proto/filepath.pro +++ b/src/proto/filepath.pro @@ -6,7 +6,6 @@ void f_executable(typval_T *argvars, typval_T *rettv); void f_exepath(typval_T *argvars, typval_T *rettv); void f_filereadable(typval_T *argvars, typval_T *rettv); void f_filewritable(typval_T *argvars, typval_T *rettv); -void findfilendir(typval_T *argvars, typval_T *rettv, int find_what); void f_finddir(typval_T *argvars, typval_T *rettv); void f_findfile(typval_T *argvars, typval_T *rettv); void f_fnamemodify(typval_T *argvars, typval_T *rettv); diff --git a/src/proto/hangulin.pro b/src/proto/hangulin.pro index 3aef39df4..6509ba8d4 100644 --- a/src/proto/hangulin.pro +++ b/src/proto/hangulin.pro @@ -5,7 +5,6 @@ int im_get_status(void); void hangul_input_state_toggle(void); void hangul_keyboard_set(void); int hangul_input_process(char_u *s, int len); -void hangul_input_clear(void); char_u *hangul_string_convert(char_u *buf, int *p_len); char_u *hangul_composing_buffer_get(int *p_len); /* vim: set ft=c : */ diff --git a/src/proto/mbyte.pro b/src/proto/mbyte.pro index 86b525c46..cbfa90961 100644 --- a/src/proto/mbyte.pro +++ b/src/proto/mbyte.pro @@ -50,7 +50,6 @@ int utf_isupper(int a); int mb_strnicmp(char_u *s1, char_u *s2, size_t nn); void show_utf8(void); int latin_head_off(char_u *base, char_u *p); -int dbcs_head_off(char_u *base, char_u *p); int dbcs_screen_head_off(char_u *base, char_u *p); int utf_head_off(char_u *base, char_u *p); void mb_copy_char(char_u **fp, char_u **tp); diff --git a/src/proto/misc1.pro b/src/proto/misc1.pro index f0c37838b..08eb85375 100644 --- a/src/proto/misc1.pro +++ b/src/proto/misc1.pro @@ -48,7 +48,6 @@ void preserve_exit(void); void line_breakcheck(void); void fast_breakcheck(void); char_u *get_cmd_output(char_u *cmd, char_u *infile, int flags, int *ret_len); -void get_cmd_output_as_rettv(typval_T *argvars, typval_T *rettv, int retlist); void f_system(typval_T *argvars, typval_T *rettv); void f_systemlist(typval_T *argvars, typval_T *rettv); int goto_im(void); diff --git a/src/proto/os_unix.pro b/src/proto/os_unix.pro index 449b3e96f..86e12a0f6 100644 --- a/src/proto/os_unix.pro +++ b/src/proto/os_unix.pro @@ -59,7 +59,6 @@ int mch_get_shellsize(void); int mch_report_winsize(int fd, int rows, int cols); void mch_set_shellsize(void); void mch_new_shellsize(void); -void may_send_sigint(int c, pid_t pid, pid_t wpid); int mch_call_shell(char_u *cmd, int options); void mch_job_start(char **argv, job_T *job, jobopt_T *options, int is_terminal); char *mch_job_status(job_T *job); diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index 996db6dda..0527aa88c 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -56,7 +56,6 @@ void f_term_start(typval_T *argvars, typval_T *rettv); void f_term_wait(typval_T *argvars, typval_T *rettv); void term_send_eof(channel_T *ch); job_T *term_getjob(term_T *term); -void term_free_conpty(term_T *term); int use_conpty(void); int terminal_enabled(void); /* vim: set ft=c : */ diff --git a/src/proto/undo.pro b/src/proto/undo.pro index 93b99096a..97dbef37c 100644 --- a/src/proto/undo.pro +++ b/src/proto/undo.pro @@ -7,7 +7,6 @@ int u_savedel(linenr_T lnum, long nlines); int undo_allowed(void); int u_savecommon(linenr_T top, linenr_T bot, linenr_T newbot, int reload); void u_compute_hash(char_u *hash); -char_u *u_get_undo_file_name(char_u *buf_ffname, int reading); void u_write_undo(char_u *name, int forceit, buf_T *buf, char_u *hash); void u_read_undo(char_u *name, char_u *hash, char_u *orig_name); void u_undo(int count); @@ -27,7 +26,6 @@ int bufIsChanged(buf_T *buf); int anyBufIsChanged(void); int bufIsChangedNotTerm(buf_T *buf); int curbufIsChanged(void); -void u_eval_tree(u_header_T *first_uhp, list_T *list); void f_undofile(typval_T *argvars, typval_T *rettv); void f_undotree(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */ |