summaryrefslogtreecommitdiff
path: root/xdiff-interface.h
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2012-05-09 22:24:34 +0200
committerJunio C Hamano <gitster@pobox.com>2012-05-09 14:08:42 -0700
commit3319e606336c13ba6475d83e700ca53537cedfd9 (patch)
treee7efe531ff5cbed7dc39c80f81cabc258f0ab823 /xdiff-interface.h
parent4b4132fd89b248896d527dffd1ddfb7bbf375a45 (diff)
downloadgit-3319e606336c13ba6475d83e700ca53537cedfd9.tar.gz
xdiff: remove emit_func() and xdi_diff_hunks()
The functions are unused now, remove them. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
-rw-r--r--xdiff-interface.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xdiff-interface.h b/xdiff-interface.h
index 49d1116fc3..eff7762ee1 100644
--- a/xdiff-interface.h
+++ b/xdiff-interface.h
@@ -4,15 +4,11 @@
#include "xdiff/xdiff.h"
typedef void (*xdiff_emit_consume_fn)(void *, char *, unsigned long);
-typedef void (*xdiff_emit_hunk_consume_fn)(void *, long, long, long);
int xdi_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, xdemitconf_t const *xecfg, xdemitcb_t *ecb);
int xdi_diff_outf(mmfile_t *mf1, mmfile_t *mf2,
xdiff_emit_consume_fn fn, void *consume_callback_data,
xpparam_t const *xpp, xdemitconf_t const *xecfg);
-int xdi_diff_hunks(mmfile_t *mf1, mmfile_t *mf2,
- xdiff_emit_hunk_consume_fn fn, void *consume_callback_data,
- xpparam_t const *xpp, xdemitconf_t *xecfg);
int parse_hunk_header(char *line, int len,
int *ob, int *on,
int *nb, int *nn);