aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-08 02:22:56 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-08 02:37:19 -0700
commitfcd056a6d23bafb13f991ffb673fb87c7100b8f2 (patch)
tree88c1737b954934980df9f3daffcfd88547754c34
parent2d93b9facef75d1880a2979366d36bc1832e8c1d (diff)
downloadgit-fcd056a6d23bafb13f991ffb673fb87c7100b8f2.tar.gz
git-fcd056a6d23bafb13f991ffb673fb87c7100b8f2.tar.xz
More missing static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin-mailinfo.c4
-rw-r--r--builtin-mailsplit.c4
-rw-r--r--builtin.h2
3 files changed, 4 insertions, 6 deletions
diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
index c95e477e8..489c2c58c 100644
--- a/builtin-mailinfo.c
+++ b/builtin-mailinfo.c
@@ -851,8 +851,8 @@ static void handle_info(void)
fprintf(fout, "\n");
}
-int mailinfo(FILE *in, FILE *out, int ks, const char *encoding,
- const char *msg, const char *patch)
+static int mailinfo(FILE *in, FILE *out, int ks, const char *encoding,
+ const char *msg, const char *patch)
{
keep_subject = ks;
metainfo_charset = encoding;
diff --git a/builtin-mailsplit.c b/builtin-mailsplit.c
index c93842555..43fc373a1 100644
--- a/builtin-mailsplit.c
+++ b/builtin-mailsplit.c
@@ -159,8 +159,8 @@ out:
return ret;
}
-int split_mbox(const char *file, const char *dir, int allow_bare,
- int nr_prec, int skip)
+static int split_mbox(const char *file, const char *dir, int allow_bare,
+ int nr_prec, int skip)
{
char name[PATH_MAX];
int ret = -1;
diff --git a/builtin.h b/builtin.h
index 39290d1b8..fe8ba9e65 100644
--- a/builtin.h
+++ b/builtin.h
@@ -7,8 +7,6 @@ extern const char git_version_string[];
extern const char git_usage_string[];
extern void help_unknown_cmd(const char *cmd);
-extern int mailinfo(FILE *in, FILE *out, int ks, const char *encoding, const char *msg, const char *patch);
-extern int split_mbox(const char *file, const char *dir, int allow_bare, int nr_prec, int skip);
extern void stripspace(FILE *in, FILE *out);
extern int write_tree(unsigned char *sha1, int missing_ok, const char *prefix);
extern void prune_packed_objects(int);