bpo-40865: Remove unused insint() macro from hash modules (GH-20627)

Automerge-Triggered-By: @tiran
This commit is contained in:
Erlend Egeberg Aasland 2020-06-04 22:08:42 +02:00 committed by GitHub
parent 7a280197f4
commit 6ed578f6db
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",