aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-18 14:37:46 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-18 14:37:46 -0700
commit06e211acc61c52a2e1709ea8b62a0b0f6dcb492b (patch)
treef69ccce2499e864ed3c0a6c71c7aec4b5d3a61f6 /strbuf.h
parent8db3865936550fe239b11a44ed52230c3c3eb223 (diff)
parent250f2492a408be1ed79c563f304a0d43752d032c (diff)
downloadgit-06e211acc61c52a2e1709ea8b62a0b0f6dcb492b.tar.gz
git-06e211acc61c52a2e1709ea8b62a0b0f6dcb492b.tar.xz
Merge branch 'jc/make-static'
Turn many file-scope private symbols to static to reduce the global namespace contamination. * jc/make-static: sequencer.c: mark a private file-scope symbol as static ident.c: mark private file-scope symbols as static trace.c: mark a private file-scope symbol as static wt-status.c: mark a private file-scope symbol as static read-cache.c: mark a private file-scope symbol as static strbuf.c: mark a private file-scope symbol as static sha1-array.c: mark a private file-scope symbol as static symlinks.c: mark private file-scope symbols as static notes.c: mark a private file-scope symbol as static rerere.c: mark private file-scope symbols as static graph.c: mark private file-scope symbols as static diff.c: mark a private file-scope symbol as static commit.c: mark a file-scope private symbol as static builtin/notes.c: mark file-scope private symbols as static
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 b888d405d..be941ee48 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);