diff options
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r-- | src/nvim/strings.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c index 1e619b1c6e..25e4a6c93b 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -288,33 +288,6 @@ char_u *strup_save(const char_u *orig) } /* - * copy a space a number of times - */ -void copy_spaces(char_u *ptr, size_t count) - FUNC_ATTR_NONNULL_ALL -{ - size_t i = count; - char_u *p = ptr; - - while (i--) - *p++ = ' '; -} - -/* - * Copy a character a number of times. - * Does not work for multi-byte characters! - */ -void copy_chars(char_u *ptr, size_t count, char_u c) - FUNC_ATTR_NONNULL_ALL -{ - size_t i = count; - char_u *p = ptr; - - while (i--) - *p++ = c; -} - -/* * delete spaces at the end of a string */ void del_trailing_spaces(char_u *ptr) |