pretty: recalculate duplicate short hashes
[gitweb.git] / strbuf.h
index ba8d5f1d465e5b06274028aeb096e325e73e5de4..ca4eff8bff6cef22b876520f4a5befd26dc60ce9 100644 (file)
--- a/strbuf.h
+++ b/strbuf.h
@@ -265,12 +265,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