{"thread":{"id":"15751","subject":"[PATCH] commit.c: make read_graft_file() static","startedAt":"2008-10-02T10:14:30Z","lastAt":"2008-10-02T10:14:30Z","messageCount":1,"participants":["Nanako Shiraishi"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"92131","messageId":"20081002191430.6117@nanako3.lavabit.com","threadId":"15751","inReplyTo":null,"subject":"[PATCH] commit.c: make read_graft_file() static","fromName":"Nanako Shiraishi","fromEmail":"nanako3@lavabit.com","sentAt":"2008-10-02T10:14:30Z","receivedAt":"2008-10-02T10:14:30Z","isPatch":true,"sender":{"key":"nanako3@lavabit.com","avatar":"https://gravatar.com/avatar/3777b9e201c5883a62b1a6fdf7c53f2d712d1d80989146063ea861e33aad72a8?d=mp&s=160"},"body":"This function is not called by any other file.\n\nSigned-off-by: Nanako Shiraishi <nanako3@lavabit.com>\n---\n commit.c |    2 +-\n commit.h |    1 -\n 2 files changed, 1 insertions(+), 2 deletions(-)\n\ndiff --git a/commit.c b/commit.c\nindex dc0c5bf..c99db16 100644\n--- a/commit.c\n+++ b/commit.c\n@@ -160,7 +160,7 @@ struct commit_graft *read_graft_line(char *buf, int len)\n \treturn graft;\n }\n \n-int read_graft_file(const char *graft_file)\n+static int read_graft_file(const char *graft_file)\n {\n \tFILE *fp = fopen(graft_file, \"r\");\n \tchar buf[1024];\ndiff --git a/commit.h b/commit.h\nindex de15f4d..4c05864 100644\n--- a/commit.h\n+++ b/commit.h\n@@ -118,7 +118,6 @@ struct commit_graft {\n \n struct commit_graft *read_graft_line(char *buf, int len);\n int register_commit_graft(struct commit_graft *, int);\n-int read_graft_file(const char *graft_file);\n struct commit_graft *lookup_commit_graft(const unsigned char *sha1);\n \n extern struct commit_list *get_merge_bases(struct commit *rev1, struct commit *rev2, int cleanup);\n-- \n1.6.0.2\n\n-- \nNanako Shiraishi\nhttp://ivory.ap.teacup.com/nanako3/\n"}]}