Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
This commit is contained in:
@@ -155,7 +155,7 @@ static PyMethodDef syslog_methods[] = {
|
||||
|
||||
/* Initialization function for the module */
|
||||
|
||||
DL_EXPORT(void)
|
||||
PyMODINIT_FUNC
|
||||
initsyslog(void)
|
||||
{
|
||||
PyObject *m;
|
||||
|
||||
Reference in New Issue
Block a user