Commit 186458b1 authored by Stephan Beyer's avatar Stephan Beyer Committed by Junio C Hamano

Make non-static functions, that may be static, static

Signed-off-by: default avatarStephan Beyer <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent 0c4cd7f4
......@@ -876,7 +876,7 @@ static void print_summary(const char *prefix, const unsigned char *sha1)
}
}
int git_commit_config(const char *k, const char *v, void *cb)
static int git_commit_config(const char *k, const char *v, void *cb)
{
if (!strcmp(k, "commit.template"))
return git_config_string(&template_file, k, v);
......
......@@ -145,7 +145,7 @@ static int get_value(const char* key_, const char* regex_)
return ret;
}
char *normalize_value(const char *key, const char *value)
static char *normalize_value(const char *key, const char *value)
{
char *normalized;
......
......@@ -809,7 +809,7 @@ static struct ref_sort *default_sort(void)
return sort;
}
int opt_parse_sort(const struct option *opt, const char *arg, int unset)
static int opt_parse_sort(const struct option *opt, const char *arg, int unset)
{
struct ref_sort **sort_tail = opt->value;
struct ref_sort *s;
......
......@@ -431,7 +431,7 @@ static void merge_name(const char *remote, struct strbuf *msg)
sha1_to_hex(remote_head->sha1), remote);
}
int git_merge_config(const char *k, const char *v, void *cb)
static int git_merge_config(const char *k, const char *v, void *cb)
{
if (branch && !prefixcmp(k, "branch.") &&
!prefixcmp(k + 7, branch) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment