summaryrefslogtreecommitdiffstats
path: root/tdeabc
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc')
-rw-r--r--tdeabc/vcard/Enum.cpp12
-rw-r--r--tdeabc/vcard/RToken.cpp6
2 files changed, 9 insertions, 9 deletions
diff --git a/tdeabc/vcard/Enum.cpp b/tdeabc/vcard/Enum.cpp
index bcb48f98a..4811a0955 100644
--- a/tdeabc/vcard/Enum.cpp
+++ b/tdeabc/vcard/Enum.cpp
@@ -433,12 +433,12 @@ static signed char b64dec[] = {
char *
VCARD::decodeBase64(const char * s, unsigned long srcl, unsigned long & len)
{
- register unsigned char c;
- register unsigned long e(0);
+ unsigned char c;
+ unsigned long e(0);
len = 0;
unsigned const char * src = (unsigned const char *)s;
char * ret = new char[srcl + (srcl / 4 + 1)];
- register char *d = ret;
+ char *d = ret;
while (srcl--) { // Critical loop
c = *src++;
int dec = b64dec[c];
@@ -468,12 +468,12 @@ VCARD::decodeBase64(const char * s, unsigned long srcl, unsigned long & len)
char *
VCARD::encodeBase64(const char * src, unsigned long srcl, unsigned long & destl)
{
- register const unsigned char *s = (unsigned char *)src;
- register unsigned long i = ((srcl + 2) / 3) * 4;
+ const unsigned char *s = (unsigned char *)src;
+ unsigned long i = ((srcl + 2) / 3) * 4;
destl = i += 2 * ((i / 60) + 1);
i = 0;
char * ret = new char[destl];
- register unsigned char *d((unsigned char *)ret);
+ unsigned char *d((unsigned char *)ret);
while (srcl != 0) { // Critical loop
*d++ = B64[s[0] >> 2];
*d++ = B64[((s[0] << 4) + (--srcl == 0 ? 0 : s[1] >> 4)) & 0x3f];
diff --git a/tdeabc/vcard/RToken.cpp b/tdeabc/vcard/RToken.cpp
index 582a9e1c7..0f7910688 100644
--- a/tdeabc/vcard/RToken.cpp
+++ b/tdeabc/vcard/RToken.cpp
@@ -40,11 +40,11 @@ RTokenise(const char * str, const char * delim, TQStrList & l)
char * len = (char *)(str + strlen(str)); // End of string.
- register char * rstart = new char[strlen(str) + 1];
- register char * r = rstart;
+ char * rstart = new char[strlen(str) + 1];
+ char * r = rstart;
- register const char * i = str; // Cursor.
+ const char * i = str; // Cursor.
while (i <= len) {