Mercurial > vim
comparison src/proto/profiler.pro @ 25567:0082503ff2ff v8.2.3320
patch 8.2.3320: some local functions are not static
Commit: https://github.com/vim/vim/commit/8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Aug 9 19:59:06 2021 +0200
patch 8.2.3320: some local functions are not static
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Aug 2021 20:00:06 +0200 |
parents | 03819ebd3e6d |
children |
comparison
equal
deleted
inserted
replaced
25566:e1c7aa26ddf5 | 25567:0082503ff2ff |
---|---|
25 void prof_child_exit(proftime_T *tm); | 25 void prof_child_exit(proftime_T *tm); |
26 void func_line_start(void *cookie, long lnum); | 26 void func_line_start(void *cookie, long lnum); |
27 void func_line_exec(void *cookie); | 27 void func_line_exec(void *cookie); |
28 void func_line_end(void *cookie); | 28 void func_line_end(void *cookie); |
29 void script_do_profile(scriptitem_T *si); | 29 void script_do_profile(scriptitem_T *si); |
30 void script_prof_save(proftime_T *tm); | |
31 void script_prof_restore(proftime_T *tm); | 30 void script_prof_restore(proftime_T *tm); |
32 void profile_dump(void); | 31 void profile_dump(void); |
33 void script_line_start(void); | 32 void script_line_start(void); |
34 void script_line_exec(void); | 33 void script_line_exec(void); |
35 void script_line_end(void); | 34 void script_line_end(void); |