Skip to content

Commit

Permalink
one
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-peterson committed May 17, 2024
1 parent d8ab1d4 commit c476258
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1438,8 +1438,8 @@ static int parse_num(const char *line, unsigned long *p)
return ptr - line;
}

static int parse_range(const char *line, int len, int offset, const char *expect,
unsigned long *p1, unsigned long *p2)
int parse_range(const char *line, int len, int offset, const char *expect,
unsigned long *p1, unsigned long *p2)
{
int digits, ex;

Expand Down
4 changes: 4 additions & 0 deletions apply.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,8 @@ int apply_all_patches(struct apply_state *state,
int argc, const char **argv,
int options);

#define apply_parse_fragment_range parse_range
int parse_range(const char *line, int len, int offset, const char *expect,
unsigned long *p1, unsigned long *p2);

#endif

0 comments on commit c476258

Please sign in to comment.