]> granicus.if.org Git - curl/commitdiff
get strlen() results in a size_t, delete 'register'
authorDaniel Stenberg <daniel@haxx.se>
Tue, 23 Mar 2004 15:14:57 +0000 (15:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 23 Mar 2004 15:14:57 +0000 (15:14 +0000)
lib/getdate.y

index eb556835a50a1f9f196ccf81986cb05f6969beaf..4362443e586143cc51a3124f4e3ffb3615836611 100644 (file)
@@ -742,10 +742,10 @@ ToYear (int Year)
 static int
 LookupWord (YYSTYPE *yylval, char *buff)
 {
-  register char *p;
-  register char *q;
-  register const TABLE *tp;
-  int i;
+  char *p;
+  char *q;
+  const TABLE *tp;
+  size_t i;
   int abbrev;
 
   /* Make it lowercase. */