summaryrefslogtreecommitdiffstats
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-27 17:20:04 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-27 17:20:04 (GMT)
commit02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd (patch)
tree7116de173bc782da1cf8f3e59d7eda2e977099ee /Modules/mmapmodule.c
parentf4e6928c4d259fbff9fa8e48496339009333f228 (diff)
downloadcpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.zip
cpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.tar.gz
cpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.tar.bz2
More unconsting.
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r--Modules/mmapmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index 66ce716..7c3c3e4 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -874,7 +874,7 @@ new_mmap_object(PyObject *self, PyObject *args, PyObject *kwdict)
int fd, flags = MAP_SHARED, prot = PROT_WRITE | PROT_READ;
int devzero = -1;
int access = (int)ACCESS_DEFAULT;
- static const char *keywords[] = {"fileno", "length",
+ static char *keywords[] = {"fileno", "length",
"flags", "prot",
"access", NULL};
@@ -992,7 +992,7 @@ new_mmap_object(PyObject *self, PyObject *args, PyObject *kwdict)
HANDLE fh = 0;
int access = (access_mode)ACCESS_DEFAULT;
DWORD flProtect, dwDesiredAccess;
- static const char *keywords[] = { "fileno", "length",
+ static char *keywords[] = { "fileno", "length",
"tagname",
"access", NULL };