summaryrefslogtreecommitdiffstats
path: root/Include/import.h
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 23:30:03 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 23:30:03 (GMT)
commit5f37591a164672ec25c389e646a763d40403cd79 (patch)
tree752a11d1159668095eada90c066629b1f4f61500 /Include/import.h
parent7889010731eec703eda68fb32b6805c65e3f1cbf (diff)
downloadcpython-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.h4
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 {