* `tkMain.c'.
*/
-static void EnableEventHook(); /* Forward */
-static void DisableEventHook(); /* Forward */
+static void EnableEventHook(void); /* Forward */
+static void DisableEventHook(void); /* Forward */
static TkappObject *
Tkapp_New(char *screenName, char *baseName, char *className, int interactive)
};
DL_EXPORT(void)
-initbsddb() {
+initbsddb(void) {
PyObject *m, *d;
Bsddbtype.ob_type = &PyType_Type;
#define Pdata_Check(O) ((O)->ob_type == &PdataType)
static PyObject *
-Pdata_New() {
+Pdata_New(void) {
Pdata *self;
UNLESS (self = PyObject_New(Pdata, &PdataType)) return NULL;
}
static int
-stackUnderflow() {
+stackUnderflow(void) {
PyErr_SetString(UnpicklingError, "unpickling stack underflow");
return -1;
}
}
static int
-bad_readline() {
+bad_readline(void) {
PyErr_SetString(UnpicklingError, "pickle data was truncated");
return -1;
}
#define DL_EXPORT(RTYPE) RTYPE
#endif
DL_EXPORT(void)
-initcPickle() {
+initcPickle(void) {
PyObject *m, *d, *v;
char *rev="1.71";
PyObject *format_version;
#define DL_EXPORT(RTYPE) RTYPE
#endif
DL_EXPORT(void)
-initcStringIO() {
+initcStringIO(void) {
PyObject *m, *d, *v;
};
DL_EXPORT(void)
-initdbm() {
+initdbm(void) {
PyObject *m, *d;
m = Py_InitModule("dbm", dbmmodule_methods);
};
DL_EXPORT(void)
-initgdbm() {
+initgdbm(void) {
PyObject *m, *d;
Dbmtype.ob_type = &PyType_Type;
staticforward PyTypeObject Sadtype;
staticforward PyTypeObject Sadstatustype;
-static sadstatusobject *sads_alloc(); /* Forward */
+static sadstatusobject *sads_alloc(void); /* Forward */
static PyObject *SunAudioError;
/* ----------------------------------------------------------------- */
static sadstatusobject *
-sads_alloc() {
+sads_alloc(void) {
return PyObject_New(sadstatusobject, &Sadstatustype);
}
/* Forward declarations */
static int floatsleep(double);
-static double floattime();
+static double floattime(double);
/* For Y2K check */
static PyObject *moddict;