1. Stefan Saasen
  2. git


Junio C Hamano  committed 3083301

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>

  • Participants
  • Parent commits 39f2e01
  • Branches master

Comments (0)

Files changed (1)

File grep.c

View file
  • Ignore whitespace
 	return 0;
-int grep_source_load(struct grep_source *gs)
+static int grep_source_load(struct grep_source *gs)
 	if (gs->buf)
 		return 0;
-int grep_source_is_binary(struct grep_source *gs)
+static int grep_source_is_binary(struct grep_source *gs)
 	if (gs->driver->binary != -1)