Patchwork D1003: bdiff: sort includes using clang-format

login
register
mail settings
Submitter phabricator
Date Oct. 12, 2017, 11:16 a.m.
Message ID <1587d3ae3ab49198ec20ee4b6587ed67@localhost.localdomain>
Download mbox | patch
Permalink /patch/24771/
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 rHGff4c9c6263de: bdiff: sort includes using clang-format (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1003?vs=2584&id=2615

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

AFFECTED FILES
  mercurial/bdiff.c

CHANGE DETAILS




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

Patch

diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -9,13 +9,13 @@ 
  Based roughly on Python difflib
 */
 
+#include <limits.h>
 #include <stdlib.h>
 #include <string.h>
-#include <limits.h>
 
+#include "bdiff.h"
+#include "bitmanipulation.h"
 #include "compat.h"
-#include "bitmanipulation.h"
-#include "bdiff.h"
 
 /* Hash implementation from diffutils */
 #define ROL(v, n) ((v) << (n) | (v) >> (sizeof(v) * CHAR_BIT - (n)))