summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2004-07-28 20:02:52 (GMT)
committerThomas Heller <theller@ctypes.org>2004-07-28 20:02:52 (GMT)
commita18331de4e513653e3c2001be07f5df034abd4ba (patch)
treeabe2e39454b7309c1aed1a605016d48baab7c22d
parent17b6d28c64dc2299dd2639e9427e4116b98b9ffe (diff)
downloadcpython-a18331de4e513653e3c2001be07f5df034abd4ba.zip
cpython-a18331de4e513653e3c2001be07f5df034abd4ba.tar.gz
cpython-a18331de4e513653e3c2001be07f5df034abd4ba.tar.bz2
Use PyMODINIT_FUNC.
-rwxr-xr-xPC/msvcrtmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c
index 5afa45f..84cf0c1 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);