grep.c: make two symbols really file-scope static this time
Adding a declaration at the beginning is not sufficient for obvious reasons. The definition has to be made static. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Sep 20, 2012 at 14:20 UTC
3083301ead459a45059af3ee85fb51d5d737a74d
1 file changed
+2
-2
grep.c
+2
-2
@@ -1469,7 +1469,7 @@ static int grep_source_load_file(struct grep_source *gs)
1469
return 0;
1470
}
1471
1472
-int grep_source_load(struct grep_source *gs)
1472
+static int grep_source_load(struct grep_source *gs)
1473
{
1474
if (gs->buf)
1475
return 0;
@@ -1497,7 +1497,7 @@ void grep_source_load_driver(struct grep_source *gs)
1497
grep_attr_unlock();
1498
}
1499
1500
-int grep_source_is_binary(struct grep_source *gs)
1500
+static int grep_source_is_binary(struct grep_source *gs)
1501
{
1502
grep_source_load_driver(gs);
1503
if (gs->driver->binary != -1)