aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-09-17 20:06:45 -0400
committerJunio C Hamano <gitster@pobox.com>2007-09-27 00:33:33 -0700
commit6d69b6f6ac27ab6f71a10da34b813ca25fd2a358 (patch)
tree9e581e5453aa5b43109e5c2eed57e892352e1ac4 /strbuf.h
parenta9390b9fcefb18c4ccdb521086a051bc9112e03d (diff)
downloadgit-6d69b6f6ac27ab6f71a10da34b813ca25fd2a358.tar.gz
git-6d69b6f6ac27ab6f71a10da34b813ca25fd2a358.tar.xz
Clean up stripspace a bit, use strbuf even more.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/strbuf.h b/strbuf.h
index d4d9e5663..5657e3db1 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -112,4 +112,6 @@ extern int strbuf_read_file(struct strbuf *sb, const char *path);
extern int strbuf_getline(struct strbuf *, FILE *, int);
+extern void stripspace(struct strbuf *buf, int skip_comments);
+
#endif /* STRBUF_H */