C89 declaration compliance
This commit is contained in:
parent
2502ebf9c9
commit
18b7191653
|
@ -2261,9 +2261,9 @@ PyCurses_GetWin(PyCursesWindowObject *self, PyObject *stream)
|
|||
PyObject *data;
|
||||
size_t datalen;
|
||||
WINDOW *win;
|
||||
_Py_IDENTIFIER(read);
|
||||
|
||||
PyCursesInitialised;
|
||||
_Py_IDENTIFIER(read);
|
||||
|
||||
strcpy(fn, "/tmp/py.curses.getwin.XXXXXX");
|
||||
fd = mkstemp(fn);
|
||||
|
|
|
@ -1662,9 +1662,10 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
|
|||
struct sockaddr_can *addr;
|
||||
PyObject *interfaceName;
|
||||
struct ifreq ifr;
|
||||
addr = (struct sockaddr_can *)addr_ret;
|
||||
Py_ssize_t len;
|
||||
|
||||
addr = (struct sockaddr_can *)addr_ret;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O&", PyUnicode_FSConverter,
|
||||
&interfaceName))
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue