Make some strbuf_*() struct strbuf arguments const.

Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Lukas Sandström
2008-07-13 20:28:24 +02:00
committed by Junio C Hamano
parent a9a3e82e6d
commit 9b200fd68c
2 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ void strbuf_rtrim(struct strbuf *sb)
sb->buf[sb->len] = '\0';
}
int strbuf_cmp(struct strbuf *a, struct strbuf *b)
int strbuf_cmp(const struct strbuf *a, const struct strbuf *b)
{
int cmp;
if (a->len < b->len) {