Patchwork D1008: bdiff: rewrap function prototypes per clang-format

login
register
mail settings
Submitter phabricator
Date Oct. 12, 2017, 11:16 a.m.
Message ID <83f2952e98da343584c54c88dbf7046b@localhost.localdomain>
Download mbox | patch
Permalink /patch/24776/
State Accepted
Headers show

Comments

phabricator - Oct. 12, 2017, 11:16 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4dea82ee7945: bdiff: rewrap function prototypes per clang-format (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1008?vs=2589&id=2620

REVISION DETAIL
  https://phab.mercurial-scm.org/D1008

AFFECTED FILES
  mercurial/bdiff.c

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit, ryanmce
Cc: mercurial-devel

Patch

diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -84,7 +84,7 @@ 
 }
 
 static int equatelines(struct bdiff_line *a, int an, struct bdiff_line *b,
-	int bn)
+                       int bn)
 {
 	int i, j, buckets = 1, t, scale;
 	struct pos *h = NULL;
@@ -150,8 +150,8 @@ 
 }
 
 static int longest_match(struct bdiff_line *a, struct bdiff_line *b,
-			struct pos *pos,
-			 int a1, int a2, int b1, int b2, int *omi, int *omj)
+                         struct pos *pos, int a1, int a2, int b1, int b2,
+                         int *omi, int *omj)
 {
 	int mi = a1, mj = b1, mk = 0, i, j, k, half, bhalf;
 
@@ -222,8 +222,8 @@ 
 }
 
 static struct bdiff_hunk *recurse(struct bdiff_line *a, struct bdiff_line *b,
-				struct pos *pos,
-			    int a1, int a2, int b1, int b2, struct bdiff_hunk *l)
+                                  struct pos *pos, int a1, int a2, int b1,
+                                  int b2, struct bdiff_hunk *l)
 {
 	int i, j, k;
 
@@ -256,8 +256,8 @@ 
 	}
 }
 
-int bdiff_diff(struct bdiff_line *a, int an, struct bdiff_line *b,
-		int bn, struct bdiff_hunk *base)
+int bdiff_diff(struct bdiff_line *a, int an, struct bdiff_line *b, int bn,
+               struct bdiff_hunk *base)
 {
 	struct bdiff_hunk *curr;
 	struct pos *pos;