Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/maint-log-grep-all-match-1'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 21 Sep 2012 18:14:49 +0000
(11:14 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 21 Sep 2012 18:14:49 +0000
(11:14 -0700)
A finishing touch to make two symbols that were meant to be file-scope
static really so.
* jc/maint-log-grep-all-match-1:
grep.c: make two symbols really file-scope static this time
grep.c
patch
|
blob
|
history
raw
(from parent 1:
f1c62ee
)
diff --git
a/grep.c
b/grep.c
index c7f8a47505334f8ca7ff58e5c676177ce30371ac..898be6ebfaf2a4247ee3a64993253237b4dcc706 100644
(file)
--- a/
grep.c
+++ b/
grep.c
@@
-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)