From: Thomas Heller Date: Wed, 28 Jul 2004 20:04:37 +0000 (+0000) Subject: Use PyMODINIT_FUNC. X-Git-Tag: v2.3.5c1~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99a16964d1cc875310f87e36fb41a9d8b9571c29;p=thirdparty%2FPython%2Fcpython.git Use PyMODINIT_FUNC. --- diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index 5afa45f9c30a..84cf0c132ea3 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);