diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-13 20:18:52 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-13 20:18:52 +0200 |
commit | 9ed5f2726607c57c894af24159b6a7ccf660da7f (patch) | |
tree | e1b779ecf1afd5d86eb955ed44b476f2d88dab10 /Python/codecs.c | |
parent | 9eaa3e6732debf6a633f44cf3c82a0eaf8879a51 (diff) | |
download | cpython-git-9ed5f2726607c57c894af24159b6a7ccf660da7f.tar.gz |
Issue #18722: Remove uses of the "register" keyword in C code.
Diffstat (limited to 'Python/codecs.c')
-rw-r--r-- | Python/codecs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/codecs.c b/Python/codecs.c index 899f0aa748..cb9f0d8a70 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -53,7 +53,7 @@ int PyCodec_Register(PyObject *search_function) static PyObject *normalizestring(const char *string) { - register size_t i; + size_t i; size_t len = strlen(string); char *p; PyObject *v; @@ -67,7 +67,7 @@ PyObject *normalizestring(const char *string) if (p == NULL) return PyErr_NoMemory(); for (i = 0; i < len; i++) { - register char ch = string[i]; + char ch = string[i]; if (ch == ' ') ch = '-'; else |