mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
20 lines
850 B
Diff
20 lines
850 B
Diff
--- ./Modules/posixmodule.c.orig
|
|
+++ ./Modules/posixmodule.c
|
|
@@ -7768,7 +7768,7 @@
|
|
function posix_close.
|
|
*/
|
|
static PyObject *
|
|
-posix_close_(PyObject *self, PyObject *args)
|
|
+_posix_close_(PyObject *self, PyObject *args)
|
|
{
|
|
int fd, res;
|
|
if (!PyArg_ParseTuple(args, "i:close", &fd))
|
|
@@ -11426,7 +11426,7 @@
|
|
{"open", (PyCFunction)posix_open,\
|
|
METH_VARARGS | METH_KEYWORDS,
|
|
posix_open__doc__},
|
|
- {"close", posix_close_, METH_VARARGS, posix_close__doc__},
|
|
+ {"close", _posix_close_, METH_VARARGS, posix_close__doc__},
|
|
{"closerange", posix_closerange, METH_VARARGS, posix_closerange__doc__},
|
|
{"device_encoding", device_encoding, METH_VARARGS, device_encoding__doc__},
|
|
{"dup", posix_dup, METH_VARARGS, posix_dup__doc__},
|