More missing static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jun 8, 2007 at 02:22 UTC
fcd056a6d23bafb13f991ffb673fb87c7100b8f2
3 files changed
+4
-6
builtin-mailinfo.c
+2
-2
@@ -851,8 +851,8 @@ static void handle_info(void)
851
fprintf(fout, "\n");
852
}
853
854
-int mailinfo(FILE *in, FILE *out, int ks, const char *encoding,
855
- const char *msg, const char *patch)
854
+static int mailinfo(FILE *in, FILE *out, int ks, const char *encoding,
855
+ const char *msg, const char *patch)
856
{
857
keep_subject = ks;
858
metainfo_charset = encoding;
builtin-mailsplit.c
+2
-2
@@ -159,8 +159,8 @@ out:
159
return ret;
160
}
161
162
-int split_mbox(const char *file, const char *dir, int allow_bare,
163
- int nr_prec, int skip)
162
+static int split_mbox(const char *file, const char *dir, int allow_bare,
163
+ int nr_prec, int skip)
164
{
165
char name[PATH_MAX];
166
int ret = -1;
builtin.h
-2
@@ -7,8 +7,6 @@ extern const char git_version_string[];
7
extern const char git_usage_string[];
8
9
extern void help_unknown_cmd(const char *cmd);
10
-extern int mailinfo(FILE *in, FILE *out, int ks, const char *encoding, const char *msg, const char *patch);
11
-extern int split_mbox(const char *file, const char *dir, int allow_bare, int nr_prec, int skip);
10
extern void stripspace(FILE *in, FILE *out);
11
extern int write_tree(unsigned char *sha1, int missing_ok, const char *prefix);
12
extern void prune_packed_objects(int);