summaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-10-02 12:14:30 +0200
committerShawn O. Pearce <spearce@spearce.org>2008-10-03 03:03:35 +0200
commitc5ae6439d454288a809dd7c916e44ec4a5ae0b3b (patch)
tree92365dcf6e934afe845cd88b496b1bc01f8573bd /commit.c
parentconfig.c: make git_parse_long() static (diff)
downloadgit-c5ae6439d454288a809dd7c916e44ec4a5ae0b3b.tar.xz
git-c5ae6439d454288a809dd7c916e44ec4a5ae0b3b.zip
commit.c: make read_graft_file() static
This function is not called by any other file. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.c b/commit.c
index dc0c5bfdab..c99db162a4 100644
--- a/commit.c
+++ b/commit.c
@@ -160,7 +160,7 @@ struct commit_graft *read_graft_line(char *buf, int len)
return graft;
}
-int read_graft_file(const char *graft_file)
+static int read_graft_file(const char *graft_file)
{
FILE *fp = fopen(graft_file, "r");
char buf[1024];