Mercurial > vim
comparison src/edit.c @ 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 | ac88cd21ae88 |
children | 16a7d1154be8 |
comparison
equal
deleted
inserted
replaced
25566:e1c7aa26ddf5 | 25567:0082503ff2ff |
---|---|
1585 * contains a modifyOtherKeys sequence then decode it and return the result. | 1585 * contains a modifyOtherKeys sequence then decode it and return the result. |
1586 * Otherwise return "c". | 1586 * Otherwise return "c". |
1587 * Note that this doesn't wait for characters, they must be in the typeahead | 1587 * Note that this doesn't wait for characters, they must be in the typeahead |
1588 * buffer already. | 1588 * buffer already. |
1589 */ | 1589 */ |
1590 int | 1590 static int |
1591 decodeModifyOtherKeys(int c) | 1591 decodeModifyOtherKeys(int c) |
1592 { | 1592 { |
1593 char_u *p = typebuf.tb_buf + typebuf.tb_off; | 1593 char_u *p = typebuf.tb_buf + typebuf.tb_off; |
1594 int idx; | 1594 int idx; |
1595 int form = 0; | 1595 int form = 0; |