mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Peter Schneider-Kamp <nowonder@nowonder.de>:
Remove some of GCC's warning in -Wstrict-prototypes mode. This closes SourceForge patch #101342.
This commit is contained in:
parent
562f62aa9b
commit
8ce159aef5
4 changed files with 12 additions and 18 deletions
|
@ -508,7 +508,7 @@ static PyMethodDef poll_methods[] = {
|
|||
};
|
||||
|
||||
static pollObject *
|
||||
newPollObject()
|
||||
newPollObject(void)
|
||||
{
|
||||
pollObject *self;
|
||||
self = PyObject_New(pollObject, &poll_Type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue