From bea064da49216dec8164d1be0ca26170b68eba70 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Sun, 14 Oct 2007 16:50:05 +0200 Subject: [PATCH] get rid of the 'register' keyword --- build/genhash.c | 2 +- lib/md5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.39.2