mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
C89 declaration compliance
This commit is contained in:
parent
2502ebf9c9
commit
18b7191653
2 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue