summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-09-24 11:25:03 +0200
committerJunio C Hamano <gitster@pobox.com>2007-09-26 02:27:05 -0700
commit45f66f64636350b67eaf6832b0c424592be6ddda (patch)
treeb3299f8c707a2600d2465010c3dfea6f47a3926e /strbuf.h
parenta8f3e2219c237661a30b54fe23d58e055f0b548c (diff)
downloadgit-45f66f64636350b67eaf6832b0c424592be6ddda.tar.gz
Add strbuf_cmp.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/strbuf.h b/strbuf.h
index 3b19de3048..fd68389334 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -78,6 +78,7 @@ static inline void strbuf_setlen(struct strbuf *sb, size_t len) {
/*----- content related -----*/
extern void strbuf_rtrim(struct strbuf *);
+extern int strbuf_cmp(struct strbuf *, struct strbuf *);
/*----- add data in your buffer -----*/
static inline void strbuf_addch(struct strbuf *sb, int c) {