diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:35 +0900 |
commit | 8250c8e42310cb39ceb6ae425bc8546208733e99 (patch) | |
tree | 6e27394b86eb387505f1e2cb712630e001d34fb8 /tdm | |
parent | 234e466e0e524cfd92a268c37d504a7ff910ca45 (diff) | |
download | tdebase-8250c8e42310cb39ceb6ae425bc8546208733e99.tar.gz tdebase-8250c8e42310cb39ceb6ae425bc8546208733e99.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdm')
-rw-r--r-- | tdm/backend/auth.c | 4 | ||||
-rw-r--r-- | tdm/backend/choose.c | 2 | ||||
-rw-r--r-- | tdm/kfrontend/themer/tdmitem.cpp | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/tdm/backend/auth.c b/tdm/backend/auth.c index b92881789..9698816ad 100644 --- a/tdm/backend/auth.c +++ b/tdm/backend/auth.c @@ -393,7 +393,7 @@ SetLocalAuthorization( struct display *d ) void SetAuthorization( struct display *d ) { - register Xauth **auth = d->authorizations; + Xauth **auth = d->authorizations; int i; for (i = 0; i < d->authNum; i++) { @@ -925,7 +925,7 @@ DefineSelf( int fd, int file, int auth, int *ok ) int family; struct utsname name; - register struct hostent *hp; + struct hostent *hp; union { struct sockaddr sa; diff --git a/tdm/backend/choose.c b/tdm/backend/choose.c index ead841228..e66249862 100644 --- a/tdm/backend/choose.c +++ b/tdm/backend/choose.c @@ -550,7 +550,7 @@ registerBroadcastForPing( void ) BROADCAST_QUERY ); #else /* __GNU__ */ struct ifconf ifc; - register struct ifreq *ifr; + struct ifreq *ifr; struct sockaddr broad_addr; char buf[2048], *cp, *cplim; # ifdef WINTCP /* NCR with Wollongong TCP */ diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp index 26a4887c1..ce5904a26 100644 --- a/tdm/kfrontend/themer/tdmitem.cpp +++ b/tdm/kfrontend/themer/tdmitem.cpp @@ -322,9 +322,9 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) TQImage lightVersion; lightVersion = copy.convertToImage(); - register uchar * r = lightVersion.bits(); - register uchar * g = lightVersion.bits() + 1; - register uchar * b = lightVersion.bits() + 2; + uchar * r = lightVersion.bits(); + uchar * g = lightVersion.bits() + 1; + uchar * b = lightVersion.bits() + 2; uchar * end = lightVersion.bits() + lightVersion.numBytes(); while ( r != end ) { @@ -356,7 +356,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) TQImage img( myWidget->size(), 32 ); img = img.convertDepth(32); img.setAlphaBuffer(true); - register uchar * rd = img.bits(); + uchar * rd = img.bits(); for( int y = 0; y < img.height(); ++y ) { for( short int x = 0; x < img.width(); ++x ) |