diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-13 18:18:52 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-13 18:18:52 (GMT) |
commit | 9ed5f2726607c57c894af24159b6a7ccf660da7f (patch) | |
tree | e1b779ecf1afd5d86eb955ed44b476f2d88dab10 /Objects/stringlib/eq.h | |
parent | 9eaa3e6732debf6a633f44cf3c82a0eaf8879a51 (diff) | |
download | cpython-9ed5f2726607c57c894af24159b6a7ccf660da7f.zip cpython-9ed5f2726607c57c894af24159b6a7ccf660da7f.tar.gz cpython-9ed5f2726607c57c894af24159b6a7ccf660da7f.tar.bz2 |
Issue #18722: Remove uses of the "register" keyword in C code.
Diffstat (limited to 'Objects/stringlib/eq.h')
-rw-r--r-- | Objects/stringlib/eq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringlib/eq.h b/Objects/stringlib/eq.h index 8e79a43..4ad6dc0 100644 --- a/Objects/stringlib/eq.h +++ b/Objects/stringlib/eq.h @@ -6,8 +6,8 @@ Py_LOCAL_INLINE(int) unicode_eq(PyObject *aa, PyObject *bb) { - register PyUnicodeObject *a = (PyUnicodeObject *)aa; - register PyUnicodeObject *b = (PyUnicodeObject *)bb; + PyUnicodeObject *a = (PyUnicodeObject *)aa; + PyUnicodeObject *b = (PyUnicodeObject *)bb; if (PyUnicode_READY(a) == -1 || PyUnicode_READY(b) == -1) { assert(0 && "unicode_eq ready fail"); |