From: Pavel Charvat Date: Sun, 14 Oct 2007 14:50:05 +0000 (+0200) Subject: get rid of the 'register' keyword X-Git-Tag: holmes-import~506^2~7 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bea064da49216dec8164d1be0ca26170b68eba70;p=libucw.git get rid of the 'register' keyword --- diff --git a/build/genhash.c b/build/genhash.c index ccd013d9..6d5fe330 100644 --- a/build/genhash.c +++ b/build/genhash.c @@ -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\ diff --git a/lib/md5.c b/lib/md5.c index 43052b9e..ba8ff563 100644 --- 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];