strbuf: remove unused stripspace function alias
In commit 63af4a8446 ("strbuf: make stripspace() part of strbuf", 2015-10-16), stripspace() was moved to strbuf and renamed to strbuf_stripspace(). A "temporary" alias was added for the old name until all topic branches had time to switch over. They have had time, so remove the old alias. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Elijah Newren committed
Nov 28, 2017 at 17:45 UTC
9881f21190dcf60bf7c151362e2fed00c3a32dc9
1 file changed
-9
strbuf.h
-9
@@ -480,15 +480,6 @@ extern int strbuf_normalize_path(struct strbuf *sb);
480
*/
481
extern void strbuf_stripspace(struct strbuf *buf, int skip_comments);
482
483
-/**
484
- * Temporary alias until all topic branches have switched to use
485
- * strbuf_stripspace directly.
486
- */
487
-static inline void stripspace(struct strbuf *buf, int skip_comments)
488
-{
489
- strbuf_stripspace(buf, skip_comments);
490
-}
491
-
483
static inline int strbuf_strip_suffix(struct strbuf *sb, const char *suffix)
484
{
485
if (strip_suffix_mem(sb->buf, &sb->len, suffix)) {