summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.h
diff options
context:
space:
mode:
authorJakub KulĂ­k <Kulikjak@gmail.com>2020-12-29 12:58:27 (GMT)
committerGitHub <noreply@github.com>2020-12-29 12:58:27 (GMT)
commit0159e5efeebd12b3cf365c8569ca000eac7cb03e (patch)
tree8f51df34012114bc688b561d2b9c5fc639884600 /Modules/posixmodule.h
parentdd39123970892733c317f235808638ae5c0ccf04 (diff)
downloadcpython-0159e5efeebd12b3cf365c8569ca000eac7cb03e.zip
cpython-0159e5efeebd12b3cf365c8569ca000eac7cb03e.tar.gz
cpython-0159e5efeebd12b3cf365c8569ca000eac7cb03e.tar.bz2
bpo-42655: Fix subprocess extra_groups gid conversion (GH-23762)
Diffstat (limited to 'Modules/posixmodule.h')
-rw-r--r--Modules/posixmodule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.h b/Modules/posixmodule.h
index 1e00562..711ac68 100644
--- a/Modules/posixmodule.h
+++ b/Modules/posixmodule.h
@@ -14,8 +14,8 @@ extern "C" {
#ifndef MS_WINDOWS
PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);
PyAPI_FUNC(PyObject *) _PyLong_FromGid(gid_t);
-PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
-PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
+PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, uid_t *);
+PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, gid_t *);
#endif /* MS_WINDOWS */
#if defined(PYPTHREAD_SIGMASK) || defined(HAVE_SIGWAIT) || \