diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-15 23:04:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-16 08:35:39 +0200 |
commit | 07a7d656dd550e24e8b9a1802665aa0abba435ee (patch) | |
tree | bdfe3099741b799295f811730011091fe5c1122f /grep.c | |
parent | log: document use of multiple commit limiting options (diff) | |
download | git-07a7d656dd550e24e8b9a1802665aa0abba435ee.tar.xz git-07a7d656dd550e24e8b9a1802665aa0abba435ee.zip |
grep.c: mark private file-scope symbols as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.c')
-rw-r--r-- | grep.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,10 @@ #include "userdiff.h" #include "xdiff-interface.h" +static int grep_source_load(struct grep_source *gs); +static int grep_source_is_binary(struct grep_source *gs); + + static struct grep_pat *create_grep_pat(const char *pat, size_t patlen, const char *origin, int no, enum grep_pat_token t, @@ -403,7 +407,7 @@ static void dump_grep_expression_1(struct grep_expr *x, int in) } } -void dump_grep_expression(struct grep_opt *opt) +static void dump_grep_expression(struct grep_opt *opt) { struct grep_expr *x = opt->pattern_expression; |