diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2022-02-26 16:35:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 16:35:03 (GMT) |
commit | 0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b (patch) | |
tree | 240f3538d78b4f390b97fc1e0a2c1e17102f0d49 /Programs | |
parent | edbee56d698ebb4489aa68311f44d104a23f5eb7 (diff) | |
download | cpython-0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b.zip cpython-0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b.tar.gz cpython-0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b.tar.bz2 |
Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596)
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/_bootstrap_python.c | 3 | ||||
-rw-r--r-- | Programs/_freeze_module.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Programs/_bootstrap_python.c b/Programs/_bootstrap_python.c index 75d455c..f6b49c8 100644 --- a/Programs/_bootstrap_python.c +++ b/Programs/_bootstrap_python.c @@ -15,8 +15,9 @@ /* End includes */ /* Empty initializer for deepfrozen modules */ -void _Py_Deepfreeze_Init(void) +int _Py_Deepfreeze_Init(void) { + return 0; } /* Empty finalizer for deepfrozen modules */ void diff --git a/Programs/_freeze_module.c b/Programs/_freeze_module.c index d5a236a..3d27b79 100644 --- a/Programs/_freeze_module.c +++ b/Programs/_freeze_module.c @@ -23,8 +23,9 @@ #endif /* Empty initializer for deepfrozen modules */ -void _Py_Deepfreeze_Init(void) +int _Py_Deepfreeze_Init(void) { + return 0; } /* Empty finalizer for deepfrozen modules */ void |