Browse Source
bpo-40865: Remove unused insint() macro from hash modules (GH-20627)
Automerge-Triggered-By: @tiran
pull/20635/head
Erlend Egeberg Aasland
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
0 additions and
12 deletions
-
Modules/md5module.c
-
Modules/sha1module.c
-
Modules/sha256module.c
-
Modules/sha512module.c
|
|
|
@ -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", |
|
|
|
|