summaryrefslogtreecommitdiff
path: root/xdiff/xdiff.h
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2011-08-01 12:20:07 +0800
committerJunio C Hamano <gitster@pobox.com>2011-08-03 10:15:16 -0700
commit739864b1ffb379120df9cfa4111c4ec20b823cfd (patch)
treeebbe27f1f19b804ca2864ecfc11a7bda0b131826 /xdiff/xdiff.h
parent286e2b1a23d523b04c29f92eb5cee31a0a92dc12 (diff)
downloadgit-739864b1ffb379120df9cfa4111c4ec20b823cfd.tar.gz
xdiff: do away with xdl_mmfile_next()
Given our simple mmfile structure, xdl_mmfile_next() calls are redundant. Do away with calls to them. Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xdiff.h')
-rw-r--r--xdiff/xdiff.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/xdiff/xdiff.h b/xdiff/xdiff.h
index c26170ce5e..4beb10c678 100644
--- a/xdiff/xdiff.h
+++ b/xdiff/xdiff.h
@@ -106,7 +106,6 @@ typedef struct s_bdiffparam {
#define xdl_realloc(ptr,x) realloc(ptr,x)
void *xdl_mmfile_first(mmfile_t *mmf, long *size);
-void *xdl_mmfile_next(mmfile_t *mmf, long *size);
long xdl_mmfile_size(mmfile_t *mmf);
int xdl_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,