diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-15 13:56:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-15 22:58:20 -0700 |
commit | f50fee4a0476dfd1315612f49244e7050280bf68 (patch) | |
tree | d252098d33ce9d824bb31219b678cca0099ef41a /builtin | |
parent | 83379df0251243b5e1f328598bfdd39327766df3 (diff) | |
download | git-f50fee4a0476dfd1315612f49244e7050280bf68.tar.gz git-f50fee4a0476dfd1315612f49244e7050280bf68.tar.xz |
builtin/notes.c: mark file-scope private symbols as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/notes.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/builtin/notes.c b/builtin/notes.c index 554c80167..453457adb 100644 --- a/builtin/notes.c +++ b/builtin/notes.c @@ -19,6 +19,9 @@ #include "string-list.h" #include "notes-merge.h" +static void commit_notes(struct notes_tree *t, const char *msg); +static combine_notes_fn parse_combine_notes_fn(const char *v); + static const char * const git_notes_usage[] = { N_("git notes [--ref <notes_ref>] [list [<object>]]"), N_("git notes [--ref <notes_ref>] add [-f] [-m <msg> | -F <file> | (-c | -C) <object>] [<object>]"), @@ -288,7 +291,7 @@ static int parse_reedit_arg(const struct option *opt, const char *arg, int unset return parse_reuse_arg(opt, arg, unset); } -void commit_notes(struct notes_tree *t, const char *msg) +static void commit_notes(struct notes_tree *t, const char *msg) { struct strbuf buf = STRBUF_INIT; unsigned char commit_sha1[20]; @@ -312,7 +315,7 @@ void commit_notes(struct notes_tree *t, const char *msg) strbuf_release(&buf); } -combine_notes_fn parse_combine_notes_fn(const char *v) +static combine_notes_fn parse_combine_notes_fn(const char *v) { if (!strcasecmp(v, "overwrite")) return combine_notes_overwrite; |