diff Modules/mmapmodule.c @ 36684:0bebeb393045 legacy-trunk

More unconsting.
author Martin v. Löwis <martin@v.loewis.de>
date Mon, 27 Feb 2006 17:20:04 +0000
parents 941786e63ac8
children 6a9c7165b17b
line wrap: on
line diff
--- a/Modules/mmapmodule.c	Mon Feb 27 17:15:31 2006 +0000
+++ b/Modules/mmapmodule.c	Mon Feb 27 17:20:04 2006 +0000
@@ -874,7 +874,7 @@
 	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 @@
 	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 };