diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-24 14:43:35 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-24 14:43:35 (GMT) |
commit | 58d0510245c65cff2ded9d3923bf1ef2b85f4214 (patch) | |
tree | b10bce44a0eb8a479190f18243f511a0c64f2be6 /Modules/cPickle.c | |
parent | 8ec68fded2a99b2c2e2e637e42839741fedbf0a1 (diff) | |
download | cpython-58d0510245c65cff2ded9d3923bf1ef2b85f4214.zip cpython-58d0510245c65cff2ded9d3923bf1ef2b85f4214.tar.gz cpython-58d0510245c65cff2ded9d3923bf1ef2b85f4214.tar.bz2 |
ANSIfy some more forward declarations.
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r-- | Modules/cPickle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c index d6a03d3..a7b275d 100644 --- a/Modules/cPickle.c +++ b/Modules/cPickle.c @@ -180,7 +180,7 @@ static PyTypeObject PdataType = { #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; @@ -193,7 +193,7 @@ Pdata_New() { } static int -stackUnderflow() { +stackUnderflow(void) { PyErr_SetString(UnpicklingError, "unpickling stack underflow"); return -1; } @@ -2418,7 +2418,7 @@ load_none(Unpicklerobject *self) { } static int -bad_readline() { +bad_readline(void) { PyErr_SetString(UnpicklingError, "pickle data was truncated"); return -1; } @@ -4516,7 +4516,7 @@ init_stuff(PyObject *module, PyObject *module_dict) { #define DL_EXPORT(RTYPE) RTYPE #endif DL_EXPORT(void) -initcPickle() { +initcPickle(void) { PyObject *m, *d, *v; char *rev="1.71"; PyObject *format_version; |