diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 18:47:25 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 18:47:25 (GMT) |
commit | f70ef4f8606f99744252a804229d53a4d97601c1 (patch) | |
tree | be401f2f10b39f0603e4cc0ae091335890410b7f /Python/codecs.c | |
parent | 0452d1f316903f0553a0d92e0673ff37247cdfa5 (diff) | |
download | cpython-f70ef4f8606f99744252a804229d53a4d97601c1.zip cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.gz cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.bz2 |
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
Diffstat (limited to 'Python/codecs.c')
-rw-r--r-- | Python/codecs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/codecs.c b/Python/codecs.c index 20791f5..0a315d9 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -36,7 +36,7 @@ static int import_encodings_called = 0; */ static -int import_encodings() +int import_encodings(void) { PyObject *mod; @@ -419,7 +419,7 @@ PyObject *PyCodec_Decode(PyObject *object, return NULL; } -void _PyCodecRegistry_Init() +void _PyCodecRegistry_Init(void) { if (_PyCodec_SearchPath == NULL) _PyCodec_SearchPath = PyList_New(0); @@ -430,7 +430,7 @@ void _PyCodecRegistry_Init() Py_FatalError("can't initialize codec registry"); } -void _PyCodecRegistry_Fini() +void _PyCodecRegistry_Fini(void) { Py_XDECREF(_PyCodec_SearchPath); _PyCodec_SearchPath = NULL; |