]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fd.c
fix gcc warnings on shadowed declarations
[paraslash.git] / fd.c
diff --git a/fd.c b/fd.c
index b913009369ba6029fcdf4fa8378c9d926e30dd10..36b3769d289a03aa0148aa941a713ba1534a2be0 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -56,11 +56,11 @@ int file_exists(const char *fn)
  * \sa select(2) select_tut(2)
  */
 int para_select(int n, fd_set *readfds, fd_set *writefds,
-               struct timeval *timeout)
+               struct timeval *timeout_tv)
 {
        int ret, err;
        do {
-               ret = select(n, readfds, writefds, NULL, timeout);
+               ret = select(n, readfds, writefds, NULL, timeout_tv);
                err = errno;
        } while (ret < 0 && err == EINTR);
        if (ret < 0)