diff Modules/socketmodule.c @ 83794:e2e104ba42ff 3.3

C89 declaration compliance
author Benjamin Peterson <benjamin@python.org>
date Thu, 16 May 2013 15:29:44 -0500
parents e9ada209b67f
children 3c4a5dc29417 dedc900f5030
line wrap: on
line diff
--- a/Modules/socketmodule.c	Thu May 16 11:59:29 2013 -0500
+++ b/Modules/socketmodule.c	Thu May 16 15:29:44 2013 -0500
@@ -1662,8 +1662,9 @@
             struct sockaddr_can *addr;
             PyObject *interfaceName;
             struct ifreq ifr;
+            Py_ssize_t len;
+
             addr = (struct sockaddr_can *)addr_ret;
-            Py_ssize_t len;
 
             if (!PyArg_ParseTuple(args, "O&", PyUnicode_FSConverter,
                                               &interfaceName))