summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 18:47:25 +0000
committerThomas Wouters <thomas@python.org>2000-07-22 18:47:25 +0000
commit709fe068997740a7918524211227c42bfdc69b66 (patch)
tree4f022043c06c1ca4e008fddd6b7d74d0cd982660 /Python/codecs.c
parent7595e27397618e42a5834ea0f7cefdb009e3039d (diff)
downloadcpython-709fe068997740a7918524211227c42bfdc69b66.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/codecs.c b/Python/codecs.c
index 20791f50fc..0a315d9a23 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;