diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-20 14:20:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-20 14:20:09 -0700 |
commit | 3083301ead459a45059af3ee85fb51d5d737a74d (patch) | |
tree | 063971669664b287692b123908a649ccd3bd072a | |
parent | t7810-grep: test --all-match with multiple --grep and --author options (diff) | |
download | tgif-3083301ead459a45059af3ee85fb51d5d737a74d.tar.xz |
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>
-rw-r--r-- | grep.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1469,7 +1469,7 @@ static int grep_source_load_file(struct grep_source *gs) return 0; } -int grep_source_load(struct grep_source *gs) +static int grep_source_load(struct grep_source *gs) { if (gs->buf) return 0; @@ -1497,7 +1497,7 @@ void grep_source_load_driver(struct grep_source *gs) grep_attr_unlock(); } -int grep_source_is_binary(struct grep_source *gs) +static int grep_source_is_binary(struct grep_source *gs) { grep_source_load_driver(gs); if (gs->driver->binary != -1) |