Mercurial > hg
changeset 27060:4613a89bea42
base85: clean up function definition style
Cleanup performed with clang-format.
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 11 Nov 2015 19:10:45 -0500 |
parents | 405320cd6198 |
children | 9c75daf89450 |
files | mercurial/base85.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/base85.c Fri Nov 20 14:06:31 2015 -0800 +++ b/mercurial/base85.c Wed Nov 11 19:10:45 2015 -0500 @@ -18,8 +18,7 @@ "abcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~"; static char b85dec[256]; -static void -b85prep(void) +static void b85prep(void) { unsigned i; @@ -28,8 +27,7 @@ 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 @@ return out; } -static PyObject * -b85decode(PyObject *self, PyObject *args) +static PyObject *b85decode(PyObject *self, PyObject *args) { PyObject *out; const char *text;