Don't make TO const.
authorroland <roland>
Mon, 5 Dec 1994 17:05:04 +0000 (17:05 +0000)
committerroland <roland>
Mon, 5 Dec 1994 17:05:04 +0000 (17:05 +0000)
sysdeps/mach/hurd/select.c

index 4282e60..8c00f30 100644 (file)
@@ -143,10 +143,10 @@ DEFUN(__select, (nfds, readfds, writefds, exceptfds, timeout),
              error_t err;
            } reply;
        } msg;
-      const mach_msg_timeout_t to = (timeout != NULL ?
-                                    (timeout->tv_sec * 1000 +
-                                     timeout->tv_usec / 1000) :
-                                    0);
+      mach_msg_timeout_t to = (timeout != NULL ?
+                              (timeout->tv_sec * 1000 +
+                               timeout->tv_usec / 1000) :
+                              0);
       mach_msg_option_t options = (timeout == NULL ? 0 : MACH_RCV_TIMEOUT);
       while ((err = __mach_msg (&msg.head,
                                MACH_RCV_MSG | options,