Kaydet (Commit) 3e12905e authored tarafından Neal Norwitz's avatar Neal Norwitz

Remove unused static function

üst 14bd6de0
...@@ -635,25 +635,6 @@ static char module_doc[] = ...@@ -635,25 +635,6 @@ static char module_doc[] =
*** IMPORTANT NOTICE ***\n\ *** IMPORTANT NOTICE ***\n\
On Windows, only sockets are supported; on Unix, all file descriptors."; On Windows, only sockets are supported; on Unix, all file descriptors.";
/*
* Convenience routine to export an integer value.
* For simplicity, errors (which are unlikely anyway) are ignored.
*/
static void
insint(PyObject *d, char *name, int value)
{
PyObject *v = PyInt_FromLong((long) value);
if (v == NULL) {
/* Don't bother reporting this error */
PyErr_Clear();
}
else {
PyDict_SetItemString(d, name, v);
Py_DECREF(v);
}
}
DL_EXPORT(void) DL_EXPORT(void)
initselect(void) initselect(void)
{ {
......
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