summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d93b9f)
raw | patch | inline | side by side (parent: 2d93b9f)
author | Junio C Hamano <gitster@pobox.com> | |
Fri, 8 Jun 2007 09:22:56 +0000 (02:22 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 8 Jun 2007 09:37:19 +0000 (02:37 -0700) |
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mailinfo.c | patch | blob | history | |
builtin-mailsplit.c | patch | blob | history | |
builtin.h | patch | blob | history |
diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
index c95e477e831dd436f074bbca9b2b9ca5ad5a5eb1..489c2c58c01514ac3d967d1c3f46f1243f853580 100644 (file)
--- a/builtin-mailinfo.c
+++ b/builtin-mailinfo.c
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 c9384255551f316f2416ce49372b820a6d8e3632..43fc373a15cbe935054b47f9bd67c04ecf216e4e 100644 (file)
--- a/builtin-mailsplit.c
+++ b/builtin-mailsplit.c
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 39290d1b8e6d66f3123632e7efacec3a750f1107..fe8ba9e65f2158341ba72c60915c51471700161d 100644 (file)
--- a/builtin.h
+++ b/builtin.h
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);