File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3
3
#include "userdiff.h"
4
4
#include "xdiff-interface.h"
5
5
6
+ static int grep_source_load (struct grep_source * gs );
7
+ static int grep_source_is_binary (struct grep_source * gs );
8
+
9
+
6
10
static struct grep_pat * create_grep_pat (const char * pat , size_t patlen ,
7
11
const char * origin , int no ,
8
12
enum grep_pat_token t ,
@@ -403,7 +407,7 @@ static void dump_grep_expression_1(struct grep_expr *x, int in)
403
407
}
404
408
}
405
409
406
- void dump_grep_expression (struct grep_opt * opt )
410
+ static void dump_grep_expression (struct grep_opt * opt )
407
411
{
408
412
struct grep_expr * x = opt -> pattern_expression ;
409
413
Original file line number Diff line number Diff line change @@ -149,11 +149,10 @@ struct grep_source {
149
149
150
150
void grep_source_init (struct grep_source * gs , enum grep_source_type type ,
151
151
const char * name , const void * identifier );
152
- int grep_source_load (struct grep_source * gs );
153
152
void grep_source_clear_data (struct grep_source * gs );
154
153
void grep_source_clear (struct grep_source * gs );
155
154
void grep_source_load_driver (struct grep_source * gs );
156
- int grep_source_is_binary ( struct grep_source * gs );
155
+
157
156
158
157
int grep_source (struct grep_opt * opt , struct grep_source * gs );
159
158
You can’t perform that action at this time.
0 commit comments