# HG changeset patch # User Augie Fackler # Date 2015-11-12 00:10:45 # Node ID 4613a89bea422cd9b81b92158f8a29d48dd7e5ff # Parent 405320cd619885019434685c58a8930e06dfda09 base85: clean up function definition style Cleanup performed with clang-format. diff --git a/mercurial/base85.c b/mercurial/base85.c --- a/mercurial/base85.c +++ b/mercurial/base85.c @@ -18,8 +18,7 @@ static const char b85chars[] = "01234567 "abcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~"; static char b85dec[256]; -static void -b85prep(void) +static void b85prep(void) { unsigned i; @@ -28,8 +27,7 @@ b85prep(void) b85dec[(int)(b85chars[i])] = i + 1; } -static PyObject * -b85encode(PyObject *self, PyObject *args) +static PyObject *b85encode(PyObject *self, PyObject *args) { const unsigned char *text; PyObject *out; @@ -76,8 +74,7 @@ b85encode(PyObject *self, PyObject *args return out; } -static PyObject * -b85decode(PyObject *self, PyObject *args) +static PyObject *b85decode(PyObject *self, PyObject *args) { PyObject *out; const char *text;