diff mercurial/mpatch.h @ 34800:761355833867

mpatch: reformat function prototypes with clang-format Differential Revision: https://phab.mercurial-scm.org/D1131
author Augie Fackler <augie@google.com>
date Wed, 04 Oct 2017 10:56:33 -0400
parents 155f0cc3f813
children d86908050375
line wrap: on
line diff
--- a/mercurial/mpatch.h	Mon Oct 16 11:43:41 2017 -0400
+++ b/mercurial/mpatch.h	Wed Oct 04 10:56:33 2017 -0400
@@ -14,13 +14,13 @@
 	struct mpatch_frag *base, *head, *tail;
 };
 
-int mpatch_decode(const char *bin, ssize_t len, struct mpatch_flist** res);
+int mpatch_decode(const char *bin, ssize_t len, struct mpatch_flist **res);
 ssize_t mpatch_calcsize(ssize_t len, struct mpatch_flist *l);
 void mpatch_lfree(struct mpatch_flist *a);
 int mpatch_apply(char *buf, const char *orig, ssize_t len,
-	struct mpatch_flist *l);
-struct mpatch_flist *mpatch_fold(void *bins,
-	struct mpatch_flist* (*get_next_item)(void*, ssize_t),
-	ssize_t start, ssize_t end);
+                 struct mpatch_flist *l);
+struct mpatch_flist *
+mpatch_fold(void *bins, struct mpatch_flist *(*get_next_item)(void *, ssize_t),
+            ssize_t start, ssize_t end);
 
 #endif