From a12be6ae60b6a559296d637e558408d4bc2092a5 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 13 Aug 2013 20:18:52 +0200 Subject: Issue #18722: Remove uses of the "register" keyword in C code. --- Python/strdup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/strdup.c') diff --git a/Python/strdup.c b/Python/strdup.c index 20187e0f0a..769d3db130 100644 --- a/Python/strdup.c +++ b/Python/strdup.c @@ -6,7 +6,7 @@ char * 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); } -- cgit v1.2.1