xdiff: remove unneeded declarations
PATCH 1/1 xdiff: remove unneeded declarations
Signed-off-by Stefan Beller <[email protected]>
--- xdiff/xemit.c | 9 --------- 1 file changed, 9 deletions(-)
xdiff/xemit.c +0 -9
@@ -22,15 +22,6 @@#include "xinclude.h" - - - -static long xdl_get_rec (xdfile_t *xdf,long ri,char const **rec); -static int xdl_emit_record (xdfile_t *xdf,long ri,char const *pre,xdemitcb_t *ecb); - - - -static long xdl_get_rec (xdfile_t *xdf,long ri,char const **rec) { *rec = xdf->recs[ri]->ptr;
Signature · 1 line
2.10.0.rc2.22.g25cb54d.dirty
Quoted 4 lines · Stefan Beller
Signed-off-by Stefan Beller <[email protected]>--- xdiff/xemit.c | 9 --------- 1 file changed, 9 deletions(-)
Despite the moved coloring patch moving into a different direction, I think this is still
an improvement to the code.
Thanks,
Stefan
Quoted 24 lines
xdiff/xemit.c +0
-10@@ -22,15 +22,6 @@#include "xinclude.h" - - - -static long xdl_get_rec (xdfile_t *xdf,long ri,char const **rec); -static int xdl_emit_record (xdfile_t *xdf,long ri,char const *pre,xdemitcb_t *ecb); - - - -static long xdl_get_rec (xdfile_t *xdf,long ri,char const **rec) { *rec = xdf->recs[ri]->ptr; --2.10.0.rc2.22.g25cb54d.dirty
Quoted 15 lines · Stefan Beller
Signed-off-by Stefan Beller <[email protected]>--- xdiff/xemit.c | 9 --------- 1 file changed, 9 deletions(-)xdiff/xemit.c +0
-2@@ -22,15 +22,6 @@#include "xinclude.h" - -
xdiff/xemit.c line 27
Quoted 10 lines
xdiff/xemit.c +0
-7- -static long xdl_get_rec (xdfile_t *xdf,long ri,char const **rec); -static int xdl_emit_record (xdfile_t *xdf,long ri,char const *pre,xdemitcb_t *ecb); - - - -static long xdl_get_rec (xdfile_t *xdf,long ri,char const **rec) { *rec = xdf->recs[ri]->ptr;
Thanks.