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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a18331de4e513653e3c2001be07f5df034abd4ba;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);