Commit 563dfc2f authored by Fred Drake's avatar Fred Drake

Style conformance: function name begins a new line *consistently*.

Make convertbuffer() static like the prototype says.  Not used elsewhere.
parent 429a86af
...@@ -31,7 +31,8 @@ static int vgetargskeywords(PyObject *, PyObject *, ...@@ -31,7 +31,8 @@ static int vgetargskeywords(PyObject *, PyObject *,
char *, char **, va_list *); char *, char **, va_list *);
static char *skipitem(char **, va_list *); static char *skipitem(char **, va_list *);
int PyArg_Parse(PyObject *args, char *format, ...) int
PyArg_Parse(PyObject *args, char *format, ...)
{ {
int retval; int retval;
va_list va; va_list va;
...@@ -43,7 +44,8 @@ int PyArg_Parse(PyObject *args, char *format, ...) ...@@ -43,7 +44,8 @@ int PyArg_Parse(PyObject *args, char *format, ...)
} }
int PyArg_ParseTuple(PyObject *args, char *format, ...) int
PyArg_ParseTuple(PyObject *args, char *format, ...)
{ {
int retval; int retval;
va_list va; va_list va;
...@@ -971,7 +973,8 @@ convertsimple(PyObject *arg, char **p_format, va_list *p_va, char *msgbuf) ...@@ -971,7 +973,8 @@ convertsimple(PyObject *arg, char **p_format, va_list *p_va, char *msgbuf)
return NULL; return NULL;
} }
int convertbuffer(PyObject *arg, void **p, char **errmsg) static int
convertbuffer(PyObject *arg, void **p, char **errmsg)
{ {
PyBufferProcs *pb = arg->ob_type->tp_as_buffer; PyBufferProcs *pb = arg->ob_type->tp_as_buffer;
int count; int count;
...@@ -994,10 +997,11 @@ int convertbuffer(PyObject *arg, void **p, char **errmsg) ...@@ -994,10 +997,11 @@ int convertbuffer(PyObject *arg, void **p, char **errmsg)
/* Support for keyword arguments donated by /* Support for keyword arguments donated by
Geoff Philbrick <philbric@delphi.hks.com> */ Geoff Philbrick <philbric@delphi.hks.com> */
int PyArg_ParseTupleAndKeywords(PyObject *args, int
PyObject *keywords, PyArg_ParseTupleAndKeywords(PyObject *args,
char *format, PyObject *keywords,
char **kwlist, ...) char *format,
char **kwlist, ...)
{ {
int retval; int retval;
va_list va; va_list va;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment