summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Programs/_freeze_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/Programs/_freeze_module.c')
-rw-r--r--contrib/tools/python3/Programs/_freeze_module.c15
1 files changed, 1 insertions, 14 deletions
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. */