More unconsting.

This commit is contained in:
Martin v. Löwis 2006-02-27 17:20:04 +00:00
parent f4e6928c4d
commit 02cbf4ae4b
9 changed files with 56 additions and 62 deletions

View file

@ -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 };