aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2019-08-05 13:02:29 +0200
committerMatthias Andree <matthias.andree@gmx.de>2019-08-05 13:08:43 +0200
commit728741e35ef93d7512a5934351c44bfaee7c1144 (patch)
tree53ca514b76d9541e1bccbb25909ad152f00e4a15
parentc2a72f07760f971f357bfd9cb2b0260a5c5161aa (diff)
downloadfetchmail-728741e35ef93d7512a5934351c44bfaee7c1144.tar.gz
fetchmail-728741e35ef93d7512a5934351c44bfaee7c1144.tar.bz2
fetchmail-728741e35ef93d7512a5934351c44bfaee7c1144.zip
Remove register qualifier.
Let the compiler sort out register allocation.
-rw-r--r--base64.c2
-rw-r--r--getpass.c4
-rw-r--r--md5c.c4
-rw-r--r--transact.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/base64.c b/base64.c
index 3cd41691..9af84a48 100644
--- a/base64.c
+++ b/base64.c
@@ -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] == ' ')
diff --git a/getpass.c b/getpass.c
index 3c19ba7c..307c8a6d 100644
--- a/getpass.c
+++ b/getpass.c
@@ -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 */
diff --git a/md5c.c b/md5c.c
index 11a61516..98b4ef2c 100644
--- a/md5c.c
+++ b/md5c.c
@@ -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];
diff --git a/transact.c b/transact.c
index 46a767eb..1f74a73c 100644
--- a/transact.c
+++ b/transact.c
@@ -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