File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33#include "userdiff.h"
44#include "xdiff-interface.h"
55
6+ static int grep_source_load (struct grep_source * gs );
7+ static int grep_source_is_binary (struct grep_source * gs );
8+
9+
610static struct grep_pat * create_grep_pat (const char * pat , size_t patlen ,
711 const char * origin , int no ,
812 enum grep_pat_token t ,
@@ -403,7 +407,7 @@ static void dump_grep_expression_1(struct grep_expr *x, int in)
403407 }
404408}
405409
406- void dump_grep_expression (struct grep_opt * opt )
410+ static void dump_grep_expression (struct grep_opt * opt )
407411{
408412 struct grep_expr * x = opt -> pattern_expression ;
409413
Original file line number Diff line number Diff line change @@ -149,11 +149,10 @@ struct grep_source {
149149
150150void grep_source_init (struct grep_source * gs , enum grep_source_type type ,
151151 const char * name , const void * identifier );
152- int grep_source_load (struct grep_source * gs );
153152void grep_source_clear_data (struct grep_source * gs );
154153void grep_source_clear (struct grep_source * gs );
155154void grep_source_load_driver (struct grep_source * gs );
156- int grep_source_is_binary ( struct grep_source * gs );
155+
157156
158157int grep_source (struct grep_opt * opt , struct grep_source * gs );
159158
You can’t perform that action at this time.
0 commit comments