diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 18:01:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 18:01:53 (GMT) |
commit | ef1585eb9a488ae8ce3ff057f43a7048b941cc1c (patch) | |
tree | fbbdc44ba78d84a31d5fc0bf1679870ec4f32f77 /Modules/_winapi.c | |
parent | 2d06e8445587d9b4d0bf79bdb08ab4743b780249 (diff) | |
download | cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.zip cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.tar.gz cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.tar.bz2 |
Issue #25923: Added more const qualifiers to signatures of static and private functions.
Diffstat (limited to 'Modules/_winapi.c')
-rw-r--r-- | Modules/_winapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c index 3e7f187..c4d4264 100644 --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -675,7 +675,7 @@ _winapi_CreatePipe_impl(PyModuleDef *module, PyObject *pipe_attrs, /* helpers for createprocess */ static unsigned long -getulong(PyObject* obj, char* name) +getulong(PyObject* obj, const char* name) { PyObject* value; unsigned long ret; @@ -691,7 +691,7 @@ getulong(PyObject* obj, char* name) } static HANDLE -gethandle(PyObject* obj, char* name) +gethandle(PyObject* obj, const char* name) { PyObject* value; HANDLE ret; |