mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
ANSIfications: fix empty arglists, and remove the checks for
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
This commit is contained in:
parent
7889010731
commit
5f37591a16
6 changed files with 3 additions and 34 deletions
|
@ -35,12 +35,12 @@ extern DL_IMPORT(PyObject *)_PyImport_FixupExtension(char *, char *);
|
|||
|
||||
struct _inittab {
|
||||
char *name;
|
||||
void (*initfunc)();
|
||||
void (*initfunc)(void);
|
||||
};
|
||||
|
||||
extern DL_IMPORT(struct _inittab *) PyImport_Inittab;
|
||||
|
||||
extern DL_IMPORT(int) PyImport_AppendInittab(char *name, void (*initfunc)());
|
||||
extern DL_IMPORT(int) PyImport_AppendInittab(char *name, void (*initfunc)(void));
|
||||
extern DL_IMPORT(int) PyImport_ExtendInittab(struct _inittab *newtab);
|
||||
|
||||
struct _frozen {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue