]> mj.ucw.cz Git - libucw.git/commitdiff
get rid of the 'register' keyword
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Sun, 14 Oct 2007 14:50:05 +0000 (16:50 +0200)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Sun, 14 Oct 2007 14:50:05 +0000 (16:50 +0200)
build/genhash.c
lib/md5.c

index ccd013d9dc2fca1815a45102234e812b83198927..6d5fe33023d260f0f295843617a69698fb36709e 100644 (file)
@@ -133,7 +133,7 @@ int main(int argc, char **argv)
       fprintf(fo, "{ \"%s\", %s },\n", ht[i]->w, ht[i]->extra);
     else
       fprintf(fo, "{ NULL },\n");
-  fprintf(fo, "};\n\nconst %s *%s(register const char *x, register unsigned int len)\n\
+  fprintf(fo, "};\n\nconst %s *%s(const char *x, unsigned int len)\n\
 {\n\
   const char *c = x;\n\
   unsigned int h = 0;\n\
index 43052b9e9bc28c8e8d28f90d84b722e7ecaca2f2..ba8ff563e86d3267703c22dea97299750351d585 100644 (file)
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -167,7 +167,7 @@ void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
  */
 void MD5Transform(uint32 buf[4], uint32 const in[16])
 {
-    register uint32 a, b, c, d;
+    uint32 a, b, c, d;
 
     a = buf[0];
     b = buf[1];