summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-15 22:43:15 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-15 22:58:21 -0700
commitea03a8e181261b5efda10376ff160dc8df084104 (patch)
tree26c299dc6970f855ae642479c0c9b8f7ad5bd67f /strbuf.h
parent69850be47d1b629543a2c45e8dd254729c5676af (diff)
downloadgit-ea03a8e181261b5efda10376ff160dc8df084104.tar.gz
strbuf.c: mark a private file-scope symbol as static
Also remove an unused function. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/strbuf.h b/strbuf.h
index b888d405db..be941ee481 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -99,8 +99,6 @@ __attribute__((format (printf,2,3)))
extern void strbuf_addf(struct strbuf *sb, const char *fmt, ...);
__attribute__((format (printf,2,0)))
extern void strbuf_vaddf(struct strbuf *sb, const char *fmt, va_list ap);
-__attribute__((format (printf,2,3)))
-extern void strbuf_addf_ln(struct strbuf *sb, const char *fmt, ...);
extern void strbuf_add_lines(struct strbuf *sb, const char *prefix, const char *buf, size_t size);
@@ -126,8 +124,6 @@ extern int launch_editor(const char *path, struct strbuf *buffer, const char *co
extern int strbuf_branchname(struct strbuf *sb, const char *name);
extern int strbuf_check_branch_ref(struct strbuf *sb, const char *name);
-extern void strbuf_add_urlencode(struct strbuf *, const char *, size_t,
- int reserved);
extern void strbuf_addstr_urlencode(struct strbuf *, const char *,
int reserved);