From 2afc8bbbe4f529c5847cfbe1757e55c47e4656fe Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Jan 2020 20:17:35 +0900 Subject: Removed explicit usage of the 'register' keyword. Signed-off-by: Michele Calgaro (cherry picked from commit 8250c8e42310cb39ceb6ae425bc8546208733e99) --- tdm/backend/auth.c | 4 ++-- tdm/backend/choose.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdm/backend') 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 */ -- cgit v1.2.1