Merge pull request #1497 from splinterofchaos/const-attr

constify and func-attribute memory.c and strings.c
This commit is contained in:
Justin M. Keyes
2014-11-29 22:48:23 -05:00
9 changed files with 93 additions and 72 deletions

View File

@@ -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);