From: Thomas Heller Date: Wed, 28 Jul 2004 20:02:52 +0000 (+0000) Subject: Use PyMODINIT_FUNC. X-Git-Tag: v2.4a2~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a18331de4e513653e3c2001be07f5df034abd4ba;p=python Use PyMODINIT_FUNC. --- diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index 5afa45f9c3..84cf0c132e 100755 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c @@ -217,7 +217,7 @@ static struct PyMethodDef msvcrt_functions[] = { {NULL, NULL} }; -__declspec(dllexport) void +PyMODINIT_FUNC initmsvcrt(void) { PyObject *m = Py_InitModule("msvcrt", msvcrt_functions);