diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-07-17 13:22:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-07-17 13:22:51 +0200 |
commit | 2536d4f396680f079e2cb96f9787a434846b5ce7 (patch) | |
tree | 0f7a7d0a8d1b24aef3970a03252346c875a8c005 /src/proto/misc2.pro | |
parent | 5d1bc78a2b9fbe3e3112afcde7c80eb19d5989f4 (diff) |
patch 7.4.783v7.4.783
Problem: copy_chars() and copy_spaces() are inefficient.
Solution: Use memset() instead. (Dominique Pelle)
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r-- | src/proto/misc2.pro | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index b2f72d8645..f09ff33ac3 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -37,8 +37,6 @@ char_u *vim_strsave_up __ARGS((char_u *string)); char_u *vim_strnsave_up __ARGS((char_u *string, int len)); void vim_strup __ARGS((char_u *p)); char_u *strup_save __ARGS((char_u *orig)); -void copy_spaces __ARGS((char_u *ptr, size_t count)); -void copy_chars __ARGS((char_u *ptr, size_t count, int c)); void del_trailing_spaces __ARGS((char_u *ptr)); void vim_strncpy __ARGS((char_u *to, char_u *from, size_t len)); void vim_strcat __ARGS((char_u *to, char_u *from, size_t tosize)); |