Skip to content

Commit 21c770b

Browse files
stefanbellergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 25790be commit 21c770b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

xdiff/xdiffi.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,17 @@
2222

2323
#include "xinclude.h"
2424

25-
26-
2725
#define XDL_MAX_COST_MIN 256
2826
#define XDL_HEUR_MIN_COST 256
2927
#define XDL_LINE_MAX (long)((1UL << (CHAR_BIT * sizeof(long) - 1)) - 1)
3028
#define XDL_SNAKE_CNT 20
3129
#define XDL_K_HEUR 4
3230

33-
34-
3531
typedef struct s_xdpsplit {
3632
long i1, i2;
3733
int min_lo, min_hi;
3834
} xdpsplit_t;
3935

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-
5336
/*
5437
* See "An O(ND) Difference Algorithm and its Variations", by Eugene Myers.
5538
* Basically considers a "box" (off1, off2, lim1, lim2) and scan from both

0 commit comments

Comments
 (0)