diff Python/marshal.c @ 85157:e7f6cef7a4cc

Issue #18722: Remove uses of the "register" keyword in C code.
author Antoine Pitrou <solipsis@pitrou.net>
date Tue, 13 Aug 2013 20:18:52 +0200
parents 5fa793ae36cc
children 0872257752c2
line wrap: on
line diff
--- a/Python/marshal.c	Tue Aug 13 12:54:29 2013 +0300
+++ b/Python/marshal.c	Tue Aug 13 20:18:52 2013 +0200
@@ -613,7 +613,7 @@
 static int
 r_short(RFILE *p)
 {
-    register short x;
+    short x;
     unsigned char buffer[2];
 
     r_string((char *) buffer, 2, p);
@@ -627,7 +627,7 @@
 static long
 r_long(RFILE *p)
 {
-    register long x;
+    long x;
     unsigned char buffer[4];
 
     r_string((char *) buffer, 4, p);