commit | 9ed5f2726607c57c894af24159b6a7ccf660da7f | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Aug 13 20:18:52 2013 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Aug 13 20:18:52 2013 +0200 |
tree | e1b779ecf1afd5d86eb955ed44b476f2d88dab10 | |
parent | 9eaa3e6732debf6a633f44cf3c82a0eaf8879a51 [diff] [blame] |
Issue #18722: Remove uses of the "register" keyword in C code.
diff --git a/Python/strdup.c b/Python/strdup.c index 20187e0..769d3db 100644 --- a/Python/strdup.c +++ b/Python/strdup.c
@@ -6,7 +6,7 @@ strdup(const char *str) { if (str != NULL) { - register char *copy = malloc(strlen(str) + 1); + char *copy = malloc(strlen(str) + 1); if (copy != NULL) return strcpy(copy, str); }