summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs/cjkcodecs.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-17 16:48:27 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-03-17 16:48:27 (GMT)
commitf024d263b4af789af0eb3727417bbeec582f69eb (patch)
treefac003f32f4a6c4fdda1a9e40ac7c1a82a8594a1 /Modules/cjkcodecs/cjkcodecs.h
parentbeb09977bce49df9d5a8f23a488f89368916bca7 (diff)
downloadcpython-f024d263b4af789af0eb3727417bbeec582f69eb.zip
cpython-f024d263b4af789af0eb3727417bbeec582f69eb.tar.gz
cpython-f024d263b4af789af0eb3727417bbeec582f69eb.tar.bz2
Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat
_codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw modules. pyexpat.c doesn't need to redeclare PyMODINIT_FUNC, it's already declared in Include/pyport.h.
Diffstat (limited to 'Modules/cjkcodecs/cjkcodecs.h')
-rw-r--r--Modules/cjkcodecs/cjkcodecs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cjkcodecs/cjkcodecs.h b/Modules/cjkcodecs/cjkcodecs.h
index a45ed12..23642df 100644
--- a/Modules/cjkcodecs/cjkcodecs.h
+++ b/Modules/cjkcodecs/cjkcodecs.h
@@ -401,7 +401,7 @@ errorexit:
NULL, \
NULL \
}; \
- PyObject* \
+ PyMODINIT_FUNC \
PyInit__codecs_##loc(void) \
{ \
PyObject *m = PyModule_Create(&__module); \