Mercurial > vim
comparison src/proto/ex_cmds2.pro @ 18051:d1e77015f60b v8.1.2021
patch 8.1.2021: some global functions can be local to the file
Commit: https://github.com/vim/vim/commit/840d16fd36bfd1a9fac8200e3dc016b1e3f9c328
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 10 21:27:18 2019 +0200
patch 8.1.2021: some global functions can be local to the file
Problem: Some global functions can be local to the file.
Solution: Add "static". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4917)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 10 Sep 2019 21:30:06 +0200 |
parents | 5c8906f653f5 |
children | a961efb326e5 |
comparison
equal
deleted
inserted
replaced
18050:dd9de94583a5 | 18051:d1e77015f60b |
---|---|
1 /* ex_cmds2.c */ | 1 /* ex_cmds2.c */ |
2 long proftime_time_left(proftime_T *due, proftime_T *now); | 2 long proftime_time_left(proftime_T *due, proftime_T *now); |
3 timer_T *create_timer(long msec, int repeat); | 3 timer_T *create_timer(long msec, int repeat); |
4 long check_due_timer(void); | 4 long check_due_timer(void); |
5 timer_T *find_timer(long id); | |
6 void stop_timer(timer_T *timer); | 5 void stop_timer(timer_T *timer); |
7 void stop_all_timers(void); | |
8 void add_timer_info(typval_T *rettv, timer_T *timer); | |
9 void add_timer_info_all(typval_T *rettv); | |
10 int set_ref_in_timer(int copyID); | 6 int set_ref_in_timer(int copyID); |
11 void timer_free_all(void); | 7 void timer_free_all(void); |
12 void f_timer_info(typval_T *argvars, typval_T *rettv); | 8 void f_timer_info(typval_T *argvars, typval_T *rettv); |
13 void f_timer_pause(typval_T *argvars, typval_T *rettv); | 9 void f_timer_pause(typval_T *argvars, typval_T *rettv); |
14 void f_timer_start(typval_T *argvars, typval_T *rettv); | 10 void f_timer_start(typval_T *argvars, typval_T *rettv); |