Commit 728741e3 authored by Matthias Andree's avatar Matthias Andree

Remove register qualifier.

Let the compiler sort out register allocation.
parent c2a72f07
......@@ -66,7 +66,7 @@ int from64tobits(void *out_, const char *in, int maxlen)
/* maxlen limits output buffer size, set to zero to ignore */
{
int len = 0;
register unsigned char digit1, digit2, digit3, digit4;
unsigned char digit1, digit2, digit3, digit4;
unsigned char *out = (unsigned char *)out_;
if (in[0] == '+' && in[1] == ' ')
......
......@@ -72,8 +72,8 @@ char *fm_getpassword(char *prompt)
exit(1);
#endif
#else
register char *p;
register int c;
char *p;
int c;
FILE *fi;
static char pbuf[INPUT_BUF_SIZE];
SIGHANDLERTYPE sig = 0; /* initialization pacifies -Wall */
......
......@@ -59,7 +59,7 @@ void MD5Init(struct MD5Context *ctx)
void MD5Update(struct MD5Context *ctx, const void *buf_, unsigned len)
{
const unsigned char *buf = (const unsigned char *)buf_;
register uint32_t t;
uint32_t t;
/* Update bitcount */
......@@ -165,7 +165,7 @@ void MD5Final(void *digest, struct MD5Context *ctx)
*/
void MD5Transform(uint32_t buf[4], uint32_t const in[16])
{
register uint32_t a, b, c, d;
uint32_t a, b, c, d;
a = buf[0];
b = buf[1];
......
......@@ -1137,8 +1137,8 @@ process_headers:
* they exist. If and only if they don't, consider
* the "To" addresses.
*/
register struct addrblk *nextptr;
if (outlevel >= O_DEBUG)
struct addrblk *nextptr;
if (outlevel >= O_DEBUG)
report(stdout, GT_("No envelope recipient found, resorting to header guessing.\n"));
if (resent_to_addrchain) {
/* delete the "To" chain and substitute it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment