From fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc 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/_weakref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/_weakref.c') diff --git a/Modules/_weakref.c b/Modules/_weakref.c index 31e63d1859..86bd036cd3 100644 --- a/Modules/_weakref.c +++ b/Modules/_weakref.c @@ -109,7 +109,7 @@ weakref_functions[] = { }; -DL_EXPORT(void) +PyMODINIT_FUNC init_weakref(void) { PyObject *m; -- cgit v1.2.1