Mercurial > public > mercurial-scm > hg
diff mercurial/cext/parsers.c @ 34440:7ed0750c71a1
cext: wrap before brace for functions
This is our prevailing style.
Differential Revision: https://phab.mercurial-scm.org/D910
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 02 Oct 2017 19:28:41 +0100 |
parents | b90e8da190da |
children | 6ece4a85c350 |
line wrap: on
line diff
--- a/mercurial/cext/parsers.c Mon Oct 02 19:09:52 2017 +0100 +++ b/mercurial/cext/parsers.c Mon Oct 02 19:28:41 2017 +0100 @@ -321,7 +321,8 @@ /* * Build a set of non-normal and other parent entries from the dirstate dmap */ -static PyObject *nonnormalotherparententries(PyObject *self, PyObject *args) { +static PyObject *nonnormalotherparententries(PyObject *self, PyObject *args) +{ PyObject *dmap, *fname, *v; PyObject *nonnset = NULL, *otherpset = NULL, *result = NULL; Py_ssize_t pos; @@ -645,7 +646,8 @@ } -static PyObject *fm1readmarkers(PyObject *self, PyObject *args) { +static PyObject *fm1readmarkers(PyObject *self, PyObject *args) +{ const char *data, *dataend; int datalen; Py_ssize_t offset, stop;