diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-13 16:55:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 16:55:08 +0100 |
commit | 9a63138e0953fc8efc2d52154f17c383259854e1 (patch) | |
tree | ab37e1e46b026959371c84700d2b0f0a3ab73fa4 /Python/import.c | |
parent | e9d210bfc248f33cc713a6026b6cbb87fdab3973 (diff) | |
download | cpython-9a63138e0953fc8efc2d52154f17c383259854e1.tar.gz cpython-9a63138e0953fc8efc2d52154f17c383259854e1.zip |
gh-111178: Fix function signatures in misc files (#131180)
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c index 6836e13972c..78b380ca6e5 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1146,8 +1146,9 @@ get_cached_m_dict(struct extensions_cache_value *value, } static void -del_extensions_cache_value(struct extensions_cache_value *value) +del_extensions_cache_value(void *raw) { + struct extensions_cache_value *value = raw; if (value != NULL) { del_cached_m_dict(value); del_cached_def(value); @@ -1248,7 +1249,7 @@ _extensions_cache_init(void) hashtable_hash_str, hashtable_compare_str, hashtable_destroy_str, // key - (_Py_hashtable_destroy_func)del_extensions_cache_value, // value + del_extensions_cache_value, // value &alloc ); if (EXTENSIONS.hashtable == NULL) { |