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:
Miss Islington (bot) 2020-06-04 13:27:23 -07:00 committed by GitHub
parent 082cff1786
commit e4e5ec18e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 12 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",