diff options
author | Elijah Newren <newren@gmail.com> | 2017-11-29 02:45:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-05 17:50:15 +0100 |
commit | 9881f21190dcf60bf7c151362e2fed00c3a32dc9 (patch) | |
tree | 4efd2149f5c923952ef6d397781653775a3501a0 /strbuf.h | |
parent | Sync with v2.15.1 (diff) | |
download | git-9881f21190dcf60bf7c151362e2fed00c3a32dc9.tar.xz git-9881f21190dcf60bf7c151362e2fed00c3a32dc9.zip |
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>
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -480,15 +480,6 @@ extern int strbuf_normalize_path(struct strbuf *sb); */ extern void strbuf_stripspace(struct strbuf *buf, int skip_comments); -/** - * Temporary alias until all topic branches have switched to use - * strbuf_stripspace directly. - */ -static inline void stripspace(struct strbuf *buf, int skip_comments) -{ - strbuf_stripspace(buf, skip_comments); -} - static inline int strbuf_strip_suffix(struct strbuf *sb, const char *suffix) { if (strip_suffix_mem(sb->buf, &sb->len, suffix)) { |