diff options
Diffstat (limited to 'contrib/tools/python3/Programs')
| -rw-r--r-- | contrib/tools/python3/Programs/_bootstrap_python.c | 13 | ||||
| -rw-r--r-- | contrib/tools/python3/Programs/_freeze_module.c | 15 |
2 files changed, 1 insertions, 27 deletions
diff --git a/contrib/tools/python3/Programs/_bootstrap_python.c b/contrib/tools/python3/Programs/_bootstrap_python.c index 6c388fc7033..6443d814a22 100644 --- a/contrib/tools/python3/Programs/_bootstrap_python.c +++ b/contrib/tools/python3/Programs/_bootstrap_python.c @@ -15,19 +15,6 @@ #include "Python/frozen_modules/zipimport.h" /* End includes */ -uint32_t _Py_next_func_version = 1; - -/* Empty initializer for deepfrozen modules */ -int _Py_Deepfreeze_Init(void) -{ - return 0; -} -/* Empty finalizer for deepfrozen modules */ -void -_Py_Deepfreeze_Fini(void) -{ -} - /* Note that a negative size indicates a package. */ static const struct _frozen bootstrap_modules[] = { diff --git a/contrib/tools/python3/Programs/_freeze_module.c b/contrib/tools/python3/Programs/_freeze_module.c index c669d96c173..891e4256e89 100644 --- a/contrib/tools/python3/Programs/_freeze_module.c +++ b/contrib/tools/python3/Programs/_freeze_module.c @@ -19,22 +19,9 @@ #include <sys/types.h> #include <sys/stat.h> #ifndef MS_WINDOWS -#include <unistd.h> +# include <unistd.h> #endif -uint32_t _Py_next_func_version = 1; - -/* Empty initializer for deepfrozen modules */ -int _Py_Deepfreeze_Init(void) -{ - return 0; -} -/* Empty finalizer for deepfrozen modules */ -void -_Py_Deepfreeze_Fini(void) -{ -} - /* To avoid a circular dependency on frozen.o, we create our own structure of frozen modules instead, left deliberately blank so as to avoid unintentional import of a stale version of _frozen_importlib. */ |
