diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-09-17 20:06:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-27 00:33:33 -0700 |
commit | 6d69b6f6ac27ab6f71a10da34b813ca25fd2a358 (patch) | |
tree | 9e581e5453aa5b43109e5c2eed57e892352e1ac4 /strbuf.h | |
parent | a9390b9fcefb18c4ccdb521086a051bc9112e03d (diff) | |
download | git-6d69b6f6ac27ab6f71a10da34b813ca25fd2a358.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |