From 9243e35e239d360574351efc20828c798a6f99ae Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Fri, 2 Aug 2002 02:27:13 +0000 Subject: Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. --- Modules/_codecsmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/_codecsmodule.c') diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c index aed3c42938..d663293e88 100644 --- a/Modules/_codecsmodule.c +++ b/Modules/_codecsmodule.c @@ -703,7 +703,7 @@ static PyMethodDef _codecs_functions[] = { {NULL, NULL} /* sentinel */ }; -DL_EXPORT(void) +PyMODINIT_FUNC init_codecs(void) { Py_InitModule("_codecs", _codecs_functions); -- cgit v1.2.1