Issue #18722: Remove uses of the "register" keyword in C code.

This commit is contained in:
Antoine Pitrou 2013-08-13 20:18:52 +02:00
parent 9eaa3e6732
commit 9ed5f27266
38 changed files with 288 additions and 286 deletions

View file

@ -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