summaryrefslogtreecommitdiff
path: root/Python/frozen.c
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-08-10 05:58:10 -0700
committerEli Bendersky <eliben@gmail.com>2013-08-10 05:58:10 -0700
commit2e74d253ec63d110af6e5a55bca22915fe374d60 (patch)
treeb979cae87c256ab318808ca78526c8aaf0e7d09e /Python/frozen.c
parentefdd3f26e3ca6220ddd8f7ce6a97fde9a14db45a (diff)
parentd265ba722d7eebdde6234372287ce58fdd232437 (diff)
downloadcpython-2e74d253ec63d110af6e5a55bca22915fe374d60.tar.gz
Issue #18668: Further clarify m_size setting for non-negative values
Diffstat (limited to 'Python/frozen.c')
-rw-r--r--Python/frozen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/frozen.c b/Python/frozen.c
index 25fdc17b3f..9bc662b994 100644
--- a/Python/frozen.c
+++ b/Python/frozen.c
@@ -28,7 +28,7 @@ static unsigned char M___hello__[] = {
#define SIZE (int)sizeof(M___hello__)
-static struct _frozen _PyImport_FrozenModules[] = {
+static const struct _frozen _PyImport_FrozenModules[] = {
/* importlib */
{"_frozen_importlib", _Py_M__importlib, (int)sizeof(_Py_M__importlib)},
/* Test module */
@@ -42,4 +42,4 @@ static struct _frozen _PyImport_FrozenModules[] = {
/* Embedding apps may change this pointer to point to their favorite
collection of frozen modules: */
-struct _frozen *PyImport_FrozenModules = _PyImport_FrozenModules;
+const struct _frozen *PyImport_FrozenModules = _PyImport_FrozenModules;