summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-10 21:27:18 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-10 21:27:18 +0200
commit840d16fd36bfd1a9fac8200e3dc016b1e3f9c328 (patch)
treee0b85aeb6c3da97a0f8096ef934372f9b297ba7b /src/ex_cmds2.c
parentd20dcb3d011da6111153109f6e46fbd5c7fe9fb6 (diff)
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/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 6eafd47e29..81f2c8f5b9 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -260,7 +260,7 @@ check_due_timer(void)
/*
* Find a timer by ID. Returns NULL if not found;
*/
- timer_T *
+ static timer_T *
find_timer(long id)
{
timer_T *timer;
@@ -291,7 +291,7 @@ stop_timer(timer_T *timer)
}
}
- void
+ static void
stop_all_timers(void)
{
timer_T *timer;
@@ -304,7 +304,7 @@ stop_all_timers(void)
}
}
- void
+ static void
add_timer_info(typval_T *rettv, timer_T *timer)
{
list_T *list = rettv->vval.v_list;
@@ -338,7 +338,7 @@ add_timer_info(typval_T *rettv, timer_T *timer)
}
}
- void
+ static void
add_timer_info_all(typval_T *rettv)
{
timer_T *timer;