aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-10-26 00:41:28 -0400
committerJunio C Hamano <gitster@pobox.com>2008-10-26 14:09:47 -0700
commit72cf48414071636546eddfbfc828eda81649cb48 (patch)
treedded29c788b0c997b9499442a3b46c8b66368def /diff.c
parent759ad19e772a79a2a5ae6b7377d57eb21d29e6a0 (diff)
downloadgit-72cf48414071636546eddfbfc828eda81649cb48.tar.gz
git-72cf48414071636546eddfbfc828eda81649cb48.tar.xz
diff: add missing static declaration
This function isn't used outside of diff.c; the 'static' was simply overlooked in the original writing. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index e368fef14..d1fd594ba 100644
--- a/diff.c
+++ b/diff.c
@@ -1282,7 +1282,7 @@ static void emit_binary_diff(FILE *file, mmfile_t *one, mmfile_t *two)
emit_binary_diff_body(file, two, one);
}
-void diff_filespec_load_driver(struct diff_filespec *one)
+static void diff_filespec_load_driver(struct diff_filespec *one)
{
if (!one->driver)
one->driver = userdiff_find_by_path(one->path);