bpo-40865: Remove unused insint() macro from hash modules (GH-20627)
Automerge-Triggered-By: @tiran
(cherry picked from commit 6ed578f6db
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
This commit is contained in:
parent
082cff1786
commit
e4e5ec18e2
|
@ -552,9 +552,6 @@ static struct PyMethodDef MD5_functions[] = {
|
|||
|
||||
/* Initialize this module. */
|
||||
|
||||
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
|
||||
|
||||
|
||||
static struct PyModuleDef _md5module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_md5",
|
||||
|
|
|
@ -529,9 +529,6 @@ static struct PyMethodDef SHA1_functions[] = {
|
|||
|
||||
/* Initialize this module. */
|
||||
|
||||
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
|
||||
|
||||
|
||||
static struct PyModuleDef _sha1module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_sha1",
|
||||
|
|
|
@ -684,9 +684,6 @@ static struct PyMethodDef SHA_functions[] = {
|
|||
|
||||
/* Initialize this module. */
|
||||
|
||||
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
|
||||
|
||||
|
||||
static struct PyModuleDef _sha256module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_sha256",
|
||||
|
|
|
@ -741,9 +741,6 @@ static struct PyMethodDef SHA_functions[] = {
|
|||
|
||||
/* Initialize this module. */
|
||||
|
||||
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
|
||||
|
||||
|
||||
static struct PyModuleDef _sha512module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_sha512",
|
||||
|
|
Loading…
Reference in New Issue