mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
ANSIfied function headers to shut up compiler warnings on OSX/Mach-o.
This commit is contained in:
parent
6b9289ff1a
commit
3685a4328d
4 changed files with 4 additions and 4 deletions
|
@ -244,7 +244,7 @@ class SpbObjectDefinition(ObjectDefinition):
|
|||
|
||||
def outputNew(self):
|
||||
Output()
|
||||
Output("%sPyObject *%s_New()", self.static, self.prefix)
|
||||
Output("%sPyObject *%s_New(void)", self.static, self.prefix)
|
||||
OutLbrace()
|
||||
Output("%s *it;", self.objecttype)
|
||||
self.outputCheckNewArg()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue