[PATCH 1/5] diff: add missing static declaration
- From
Jeff King <peff@peff.net>
- Date
- Oct 24, 2008, 02:48 UTC
- Message-ID
- <20081024024859.GA2831@coredump.intra.peff.net>
- In-Reply-To
- <20081024024631.GA20365@coredump.intra.peff.net>
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> --- Just a cleanup.
diff.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/diff.c b/diff.c index e368fef..d1fd594 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);
-- 1.6.0.3.518.gdb328.dirty