xdiff/xdiffi.c: remove unneeded function declarations

There is no need to forward-declare these functions, as they are used after their implementation only. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Beller committed Jul 16, 2018 at 16:05 UTC 21c770b63ea7ddcb6e52527d82089068b33eb9f3
1 file changed -17
xdiff/xdiffi.c
-17
@@ -22,34 +22,17 @@
22
23 #include "xinclude.h"
24
25 -
26 -
25 #define XDL_MAX_COST_MIN 256
26 #define XDL_HEUR_MIN_COST 256
27 #define XDL_LINE_MAX (long)((1UL << (CHAR_BIT * sizeof(long) - 1)) - 1)
28 #define XDL_SNAKE_CNT 20
29 #define XDL_K_HEUR 4
30
33 -
34 -
31 typedef struct s_xdpsplit {
32 long i1, i2;
33 int min_lo, min_hi;
34 } xdpsplit_t;
35
40 -
41 -
42 -
43 -static long xdl_split(unsigned long const *ha1, long off1, long lim1,
44 - unsigned long const *ha2, long off2, long lim2,
45 - long *kvdf, long *kvdb, int need_min, xdpsplit_t *spl,
46 - xdalgoenv_t *xenv);
47 -static xdchange_t *xdl_add_change(xdchange_t *xscr, long i1, long i2, long chg1, long chg2);
48 -
49 -
50 -
51 -
52 -
36 /*
37 * See "An O(ND) Difference Algorithm and its Variations", by Eugene Myers.
38 * Basically considers a "box" (off1, off2, lim1, lim2) and scan from both