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>
Jeff King committed
Oct 26, 2008 at 00:41 UTC
72cf48414071636546eddfbfc828eda81649cb48
1 file changed
+1
-1
diff.c
+1
-1
@@ -1282,7 +1282,7 @@ static void emit_binary_diff(FILE *file, mmfile_t *one, mmfile_t *two)
1282
emit_binary_diff_body(file, two, one);
1283
}
1284
1285
-void diff_filespec_load_driver(struct diff_filespec *one)
1285
+static void diff_filespec_load_driver(struct diff_filespec *one)
1286
{
1287
if (!one->driver)
1288
one->driver = userdiff_find_by_path(one->path);