Skip to content

Commit 3083301

Browse files
committed
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 <[email protected]>
1 parent 39f2e01 commit 3083301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grep.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ static int grep_source_load_file(struct grep_source *gs)
14691469
return 0;
14701470
}
14711471

1472-
int grep_source_load(struct grep_source *gs)
1472+
static int grep_source_load(struct grep_source *gs)
14731473
{
14741474
if (gs->buf)
14751475
return 0;
@@ -1497,7 +1497,7 @@ void grep_source_load_driver(struct grep_source *gs)
14971497
grep_attr_unlock();
14981498
}
14991499

1500-
int grep_source_is_binary(struct grep_source *gs)
1500+
static int grep_source_is_binary(struct grep_source *gs)
15011501
{
15021502
grep_source_load_driver(gs);
15031503
if (gs->driver->binary != -1)

0 commit comments

Comments
 (0)