diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 23:30:03 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 23:30:03 (GMT) |
commit | 5f37591a164672ec25c389e646a763d40403cd79 (patch) | |
tree | 752a11d1159668095eada90c066629b1f4f61500 /Include/import.h | |
parent | 7889010731eec703eda68fb32b6805c65e3f1cbf (diff) | |
download | cpython-5f37591a164672ec25c389e646a763d40403cd79.zip cpython-5f37591a164672ec25c389e646a763d40403cd79.tar.gz cpython-5f37591a164672ec25c389e646a763d40403cd79.tar.bz2 |
ANSIfications: fix empty arglists, and remove the checks for
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
Diffstat (limited to 'Include/import.h')
-rw-r--r-- | Include/import.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/import.h b/Include/import.h index 73f242f..c11d33e 100644 --- a/Include/import.h +++ b/Include/import.h @@ -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 { |