mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
Merge pull request #1497 from splinterofchaos/const-attr
constify and func-attribute memory.c and strings.c
This commit is contained in:
@@ -3002,7 +3002,7 @@ int utf_head_off(const char_u *base, const char_u *p)
|
||||
/*
|
||||
* Copy a character from "*fp" to "*tp" and advance the pointers.
|
||||
*/
|
||||
void mb_copy_char(char_u **fp, char_u **tp)
|
||||
void mb_copy_char(const char_u **fp, char_u **tp)
|
||||
{
|
||||
int l = (*mb_ptr2len)(*fp);
|
||||
|
||||
|
Reference in New Issue
Block a user