combine-diff: move the code to parse hunk-header into common library.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2006-04-05 12:22:35 -07:00
parent d9ea73e056
commit c1e335a43f
3 changed files with 49 additions and 46 deletions

View File

@ -14,5 +14,8 @@ struct xdiff_emit_state {
};
int xdiff_outf(void *priv_, mmbuffer_t *mb, int nbuf);
int parse_hunk_header(char *line, int len,
unsigned int *ob, unsigned int *on,
unsigned int *nb, unsigned int *nn);
#endif