diff options
Diffstat (limited to 'dcop/KDE-ICE')
-rw-r--r-- | dcop/KDE-ICE/Xtrans.c | 4 | ||||
-rw-r--r-- | dcop/KDE-ICE/iceauth.c | 4 | ||||
-rw-r--r-- | dcop/KDE-ICE/misc.c | 16 |
3 files changed, 12 insertions, 12 deletions
diff --git a/dcop/KDE-ICE/Xtrans.c b/dcop/KDE-ICE/Xtrans.c index b954d4b3b..e34574248 100644 --- a/dcop/KDE-ICE/Xtrans.c +++ b/dcop/KDE-ICE/Xtrans.c @@ -1261,7 +1261,7 @@ static int TRANS(ReadV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt) len = iov->iov_len; base = iov->iov_base; while (len > 0) { - register int nbytes; + int nbytes; nbytes = TRANS(Read) (ciptr, base, len); if (nbytes < 0 && total == 0) return -1; if (nbytes <= 0) return total; @@ -1293,7 +1293,7 @@ static int TRANS(WriteV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt) len = iov->iov_len; base = iov->iov_base; while (len > 0) { - register int nbytes; + int nbytes; nbytes = TRANS(Write) (ciptr, base, len); if (nbytes < 0 && total == 0) return -1; if (nbytes <= 0) return total; diff --git a/dcop/KDE-ICE/iceauth.c b/dcop/KDE-ICE/iceauth.c index 72297ceb5..74db91367 100644 --- a/dcop/KDE-ICE/iceauth.c +++ b/dcop/KDE-ICE/iceauth.c @@ -45,7 +45,7 @@ extern Time_t time (); #define Time_t time_t #endif -static int binaryEqual (register const char *a, register const char *b, register unsigned len); +static int binaryEqual (register const char *a, const char *b, unsigned len); static int was_called_state; @@ -264,7 +264,7 @@ char **errorStringRet; * local routines */ -static int binaryEqual (register const char *a, register const char *b, register unsigned len) +static int binaryEqual (register const char *a, const char *b, unsigned len) { while (len--) if (*a++ != *b++) diff --git a/dcop/KDE-ICE/misc.c b/dcop/KDE-ICE/misc.c index 0dbbf24b7..4658b8d14 100644 --- a/dcop/KDE-ICE/misc.c +++ b/dcop/KDE-ICE/misc.c @@ -233,12 +233,12 @@ IceConn iceConn; Status _IceRead (iceConn, nbytes, ptr) -register IceConn iceConn; +IceConn iceConn; unsigned long nbytes; -register char *ptr; +char *ptr; { - register unsigned long nleft; + unsigned long nleft; nleft = nbytes; while (nleft > 0) @@ -335,8 +335,8 @@ register char *ptr; void _IceReadSkip (iceConn, nbytes) -register IceConn iceConn; -register unsigned long nbytes; +IceConn iceConn; +unsigned long nbytes; { char temp[512]; @@ -359,12 +359,12 @@ register unsigned long nbytes; void _IceWrite (iceConn, nbytes, ptr) -register IceConn iceConn; +IceConn iceConn; unsigned long nbytes; -register char *ptr; +char *ptr; { - register unsigned long nleft; + unsigned long nleft; nleft = nbytes; while (nleft > 0) |