diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-17 17:48:27 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-17 17:48:27 +0100 |
| commit | f024d263b4af789af0eb3727417bbeec582f69eb (patch) | |
| tree | fac003f32f4a6c4fdda1a9e40ac7c1a82a8594a1 /Modules/nismodule.c | |
| parent | beb09977bce49df9d5a8f23a488f89368916bca7 (diff) | |
| download | cpython-git-f024d263b4af789af0eb3727417bbeec582f69eb.tar.gz | |
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/nismodule.c')
| -rw-r--r-- | Modules/nismodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c index 0af495fa53..64eb5dbc3d 100644 --- a/Modules/nismodule.c +++ b/Modules/nismodule.c @@ -456,8 +456,8 @@ static struct PyModuleDef nismodule = { NULL }; -PyObject* -PyInit_nis (void) +PyMODINIT_FUNC +PyInit_nis(void) { PyObject *m, *d; m = PyModule_Create(&nismodule); |
