Skip to content

Commit

Permalink
More missing static
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
gitster committed Jun 8, 2007
1 parent 2d93b9f commit fcd056a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions builtin-mailinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions builtin-mailsplit.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ static int split_maildir(const char *maildir, const char *dir,
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;
Expand Down
2 changes: 0 additions & 2 deletions builtin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fcd056a

Please sign in to comment.