summaryrefslogtreecommitdiff
path: root/Objects/unicodetype_db.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-13 20:18:52 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-13 20:18:52 +0200
commit9ed5f2726607c57c894af24159b6a7ccf660da7f (patch)
treee1b779ecf1afd5d86eb955ed44b476f2d88dab10 /Objects/unicodetype_db.h
parent9eaa3e6732debf6a633f44cf3c82a0eaf8879a51 (diff)
downloadcpython-git-9ed5f2726607c57c894af24159b6a7ccf660da7f.tar.gz
Issue #18722: Remove uses of the "register" keyword in C code.
Diffstat (limited to 'Objects/unicodetype_db.h')
-rw-r--r--Objects/unicodetype_db.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodetype_db.h b/Objects/unicodetype_db.h
index 1009bb3bc7..57add8fac6 100644
--- a/Objects/unicodetype_db.h
+++ b/Objects/unicodetype_db.h
@@ -4278,7 +4278,7 @@ double _PyUnicode_ToNumeric(Py_UCS4 ch)
/* Returns 1 for Unicode characters having the bidirectional
* type 'WS', 'B' or 'S' or the category 'Zs', 0 otherwise.
*/
-int _PyUnicode_IsWhitespace(register const Py_UCS4 ch)
+int _PyUnicode_IsWhitespace(const Py_UCS4 ch)
{
switch (ch) {
case 0x0009:
@@ -4320,7 +4320,7 @@ int _PyUnicode_IsWhitespace(register const Py_UCS4 ch)
* property 'BK', 'CR', 'LF' or 'NL' or having bidirectional
* type 'B', 0 otherwise.
*/
-int _PyUnicode_IsLinebreak(register const Py_UCS4 ch)
+int _PyUnicode_IsLinebreak(const Py_UCS4 ch)
{
switch (ch) {
case 0x000A: