summaryrefslogtreecommitdiffstats
path: root/Python/pyhash.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-29 08:56:49 (GMT)
committerGitHub <noreply@github.com>2023-09-29 08:56:49 (GMT)
commit8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a (patch)
tree325fbb4507cac60718250226d1b7f7e1db559ef3 /Python/pyhash.c
parentbfd94ab9e9f4055ecedaa500b46b0270da9ffe12 (diff)
downloadcpython-8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a.zip
cpython-8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a.tar.gz
cpython-8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a.tar.bz2
gh-110079: Remove extern "C" { ...} in C code (#110080)
Diffstat (limited to 'Python/pyhash.c')
-rw-r--r--Python/pyhash.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/pyhash.c b/Python/pyhash.c
index b2bdab5..f9060b8 100644
--- a/Python/pyhash.c
+++ b/Python/pyhash.c
@@ -14,10 +14,6 @@
# include <sys/endian.h>
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
_Py_HashSecret_t _Py_HashSecret = {{0}};
#if Py_HASH_ALGORITHM == Py_HASH_EXTERNAL
@@ -503,7 +499,3 @@ pysiphash(const void *src, Py_ssize_t src_sz) {
static PyHash_FuncDef PyHash_Func = {pysiphash, "siphash24", 64, 128};
#endif
-
-#ifdef __cplusplus
-}
-#endif