X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=strbuf.h;h=3646a6291b5026fc6d9e211a0313d76e4d2e100d;hb=f2bb1218f1e559131887b5c981bc8d962b00d85a;hp=4559035c47268c0603119b90c7278c08c6b99a09;hpb=2f4af84578ab3302ba188a86e75743cafc23d300;p=git-core%2Fgit.git diff --git a/strbuf.h b/strbuf.h index 4559035c4..3646a6291 100644 --- a/strbuf.h +++ b/strbuf.h @@ -264,12 +264,6 @@ static inline void strbuf_addstr(struct strbuf *sb, const char *s) extern void strbuf_addbuf(struct strbuf *sb, const struct strbuf *sb2); /** - * Copy part of the buffer from a given position till a given length to the - * end of the buffer. - */ -extern void strbuf_adddup(struct strbuf *sb, size_t pos, size_t len); - -/** * This function can be used to expand a format string containing * placeholders. To that end, it parses the string and calls the specified * function for every percent sign found.