summaryrefslogtreecommitdiff
path: root/Include/import.h
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 23:30:03 +0000
committerThomas Wouters <thomas@python.org>2000-07-22 23:30:03 +0000
commit61860fb1a4ce60025aa1c7aa99ad70660cfd3da6 (patch)
tree3d3d807377216011711f39bae9d18bebf6b11afc /Include/import.h
parent878857ec08b89b165fb7082611e039e84dc4c7e2 (diff)
downloadcpython-61860fb1a4ce60025aa1c7aa99ad70660cfd3da6.tar.gz
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 73f242f829..c11d33e1c1 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 {