diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-01-30 23:52:43 +0900 |
commit | 2afc8bbbe4f529c5847cfbe1757e55c47e4656fe (patch) | |
tree | 76a398670f2197f0682ccad3beff2875555af078 /tdm/backend | |
parent | 25a1c781481d9f53476251d1d2059643cf3ac67a (diff) | |
download | tdebase-2afc8bbbe4f529c5847cfbe1757e55c47e4656fe.tar.gz tdebase-2afc8bbbe4f529c5847cfbe1757e55c47e4656fe.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 8250c8e42310cb39ceb6ae425bc8546208733e99)
Diffstat (limited to 'tdm/backend')
-rw-r--r-- | tdm/backend/auth.c | 4 | ||||
-rw-r--r-- | tdm/backend/choose.c | 2 |
2 files changed, 3 insertions, 3 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 */ |