diff options
| author | Matthias Andree <matthias.andree@gmx.de> | 2019-08-05 13:02:29 +0200 | 
|---|---|---|
| committer | Matthias Andree <matthias.andree@gmx.de> | 2019-08-05 13:08:43 +0200 | 
| commit | 728741e35ef93d7512a5934351c44bfaee7c1144 (patch) | |
| tree | 53ca514b76d9541e1bccbb25909ad152f00e4a15 | |
| parent | c2a72f07760f971f357bfd9cb2b0260a5c5161aa (diff) | |
| download | fetchmail-728741e35ef93d7512a5934351c44bfaee7c1144.tar.gz fetchmail-728741e35ef93d7512a5934351c44bfaee7c1144.tar.bz2 fetchmail-728741e35ef93d7512a5934351c44bfaee7c1144.zip | |
Remove register qualifier.
Let the compiler sort out register allocation.
| -rw-r--r-- | base64.c | 2 | ||||
| -rw-r--r-- | getpass.c | 4 | ||||
| -rw-r--r-- | md5c.c | 4 | ||||
| -rw-r--r-- | transact.c | 4 | 
4 files changed, 7 insertions, 7 deletions
| @@ -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  | 
