From d3f72014ab212b209729d1014f3d7f183d6ce824 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 13 Mar 2013 14:06:39 -0500 Subject: make some freezing related stuff const --- Python/frozen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/frozen.c') 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; -- cgit v1.2.1