@matheusbsbs / matheus-bagliano / commits / 52fae7de4e
Fork 0

Missing statics.

Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Pierre Habouzit committed Jun 7, 2007 at 22:45 UTC 52fae7de4e8455dad048f1b8a645729571c42848
5 files changed +7 -7
builtin-branch.c
+2 -2
@@ -55,7 +55,7 @@ static int parse_branch_color_slot(const char *var, int ofs)
55 die("bad config variable '%s'", var);
56 }
57
58 -int git_branch_config(const char *var, const char *value)
58 +static int git_branch_config(const char *var, const char *value)
59 {
60 if (!strcmp(var, "color.branch")) {
61 branch_use_color = git_config_colorbool(var, value);
@@ -72,7 +72,7 @@ int git_branch_config(const char *var, const char *value)
72 return git_default_config(var, value);
73 }
74
75 -const char *branch_get_color(enum color_branch ix)
75 +static const char *branch_get_color(enum color_branch ix)
76 {
77 if (branch_use_color)
78 return branch_colors[ix];
builtin-revert.c
+1 -1
@@ -107,7 +107,7 @@ static char *get_oneline(const char *message)
107 return result;
108 }
109
110 -char *get_encoding(const char *message)
110 +static char *get_encoding(const char *message)
111 {
112 const char *p = message, *eol;
113
daemon.c
+1 -1
@@ -439,7 +439,7 @@ static void parse_extra_args(struct interp *table, char *extra_args, int buflen)
439 }
440 }
441
442 -void fill_in_extra_table_entries(struct interp *itable)
442 +static void fill_in_extra_table_entries(struct interp *itable)
443 {
444 char *hp;
445
wt-status.c
+1 -1
@@ -198,7 +198,7 @@ static void wt_read_cache(struct wt_status *s)
198 read_cache();
199 }
200
201 -void wt_status_print_initial(struct wt_status *s)
201 +static void wt_status_print_initial(struct wt_status *s)
202 {
203 int i;
204 char buf[PATH_MAX];
xdiff/xemit.c
+2 -2
@@ -99,8 +99,8 @@ static void xdl_find_func(xdfile_t *xf, long i, char *buf, long sz, long *ll) {
99 }
100
101
102 -int xdl_emit_common(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
103 - xdemitconf_t const *xecfg) {
102 +static int xdl_emit_common(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
103 + xdemitconf_t const *xecfg) {
104 xdfile_t *xdf = &xe->xdf1;
105 const char *rchg = xdf->rchg;
106 long ix;