summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-09-18 00:06:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-27 07:33:33 (GMT)
commit6d69b6f6ac27ab6f71a10da34b813ca25fd2a358 (patch)
tree9e581e5453aa5b43109e5c2eed57e892352e1ac4 /strbuf.h
parenta9390b9fcefb18c4ccdb521086a051bc9112e03d (diff)
downloadgit-6d69b6f6ac27ab6f71a10da34b813ca25fd2a358.zip
git-6d69b6f6ac27ab6f71a10da34b813ca25fd2a358.tar.gz
git-6d69b6f6ac27ab6f71a10da34b813ca25fd2a358.tar.bz2
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 d4d9e56..5657e3d 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 */