#546155, remove posix_int() it is not used

This commit is contained in:
Neal Norwitz 2002-04-19 14:58:40 +00:00
parent c72737e7b6
commit fdbeb5a4ce
1 changed files with 0 additions and 16 deletions

View File

@ -459,22 +459,6 @@ static PyObject * os2_error(int code)
/* POSIX generic methods */ /* POSIX generic methods */
static PyObject *
posix_int(PyObject *args, char *format, int (*func)(int))
{
int fd;
int res;
if (!PyArg_ParseTuple(args, format, &fd))
return NULL;
Py_BEGIN_ALLOW_THREADS
res = (*func)(fd);
Py_END_ALLOW_THREADS
if (res < 0)
return posix_error();
Py_INCREF(Py_None);
return Py_None;
}
static PyObject * static PyObject *
posix_fildes(PyObject *fdobj, int (*func)(int)) posix_fildes(PyObject *fdobj, int (*func)(int))
{ {