summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e1944f4)
raw | patch | inline | side by side (parent: e1944f4)
author | Pierre Habouzit <madcoder@debian.org> | |
Thu, 7 Jun 2007 20:45:00 +0000 (22:45 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 8 Jun 2007 09:37:19 +0000 (02:37 -0700) |
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c | patch | blob | history | |
builtin-revert.c | patch | blob | history | |
daemon.c | patch | blob | history | |
wt-status.c | patch | blob | history | |
xdiff/xemit.c | patch | blob | history |
diff --git a/builtin-branch.c b/builtin-branch.c
index 67f46c1ae2fd28fe6b4baffdf3447df7904cc021..da480519d7a1e7fb51d94c393ded3fe64840ee8b 100644 (file)
--- a/builtin-branch.c
+++ b/builtin-branch.c
die("bad config variable '%s'", var);
}
-int git_branch_config(const char *var, const char *value)
+static int git_branch_config(const char *var, const char *value)
{
if (!strcmp(var, "color.branch")) {
branch_use_color = git_config_colorbool(var, value);
return git_default_config(var, value);
}
-const char *branch_get_color(enum color_branch ix)
+static const char *branch_get_color(enum color_branch ix)
{
if (branch_use_color)
return branch_colors[ix];
diff --git a/builtin-revert.c b/builtin-revert.c
index 80c348c401d1024721012398022eba9ff33f1d34..8f02ed7bd1b7d4aecb8611ac1c0ebf3978b34ca5 100644 (file)
--- a/builtin-revert.c
+++ b/builtin-revert.c
return result;
}
-char *get_encoding(const char *message)
+static char *get_encoding(const char *message)
{
const char *p = message, *eol;
diff --git a/daemon.c b/daemon.c
index 77792509e3e9e33556555e967a207c487ab5ebf1..a3f2ac1d81a21883c5ec7e9f1270c9109c675f12 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -439,7 +439,7 @@ static void parse_extra_args(struct interp *table, char *extra_args, int buflen)
}
}
-void fill_in_extra_table_entries(struct interp *itable)
+static void fill_in_extra_table_entries(struct interp *itable)
{
char *hp;
diff --git a/wt-status.c b/wt-status.c
index 4bfe8f15d8a0e275f1ed2d2458cda4d592f7c630..52054201c2a8729e036a5d97337a5f85bcafc782 100644 (file)
--- a/wt-status.c
+++ b/wt-status.c
read_cache();
}
-void wt_status_print_initial(struct wt_status *s)
+static void wt_status_print_initial(struct wt_status *s)
{
int i;
char buf[PATH_MAX];
diff --git a/xdiff/xemit.c b/xdiff/xemit.c
index 78b1d4b8bb6e364e867991de1b57ad02e472e3d6..4b6e6391123ed92470f8cbaf8b87286e498dfe00 100644 (file)
--- a/xdiff/xemit.c
+++ b/xdiff/xemit.c
}
-int xdl_emit_common(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
- xdemitconf_t const *xecfg) {
+static int xdl_emit_common(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
+ xdemitconf_t const *xecfg) {
xdfile_t *xdf = &xe->xdf1;
const char *rchg = xdf->rchg;
long ix;