summaryrefslogtreecommitdiff
path: root/src/stream_template.c
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2013-07-14 16:54:54 -0700
committerDwayne Litzenberger <dlitz@dlitz.net>2013-07-14 19:14:35 -0700
commit54d438aaa6fad49527a043a8df0842104e817069 (patch)
tree8fd52cababff74fef2fbd22a976456e8ac578ace /src/stream_template.c
parentea810d0b5f54ed5b0e86476b80fc332488bbfa42 (diff)
downloadpycrypto-54d438aaa6fad49527a043a8df0842104e817069.tar.gz
Py3k cleanup: PyMODINIT_FUNC
Diffstat (limited to 'src/stream_template.c')
-rw-r--r--src/stream_template.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/stream_template.c b/src/stream_template.c
index 522ac7b..5ef1f1e 100644
--- a/src/stream_template.c
+++ b/src/stream_template.c
@@ -286,13 +286,9 @@ static PyTypeObject ALGtype =
/* Initialization function for the module */
-#ifdef IS_PY3K
PyMODINIT_FUNC
-#else
-void
-#endif
- _MODULE_NAME (void)
- {
+_MODULE_NAME (void)
+{
PyObject *m;
#ifdef IS_PY3K