]> git.tuebingen.mpg.de Git - dss.git/blobdiff - fd.h
string.c: Include stdio instead of cmdline.h.
[dss.git] / fd.h
diff --git a/fd.h b/fd.h
index fa14ad2bdf1221872a5417b7ee0e90e5effac1b7..d292db0aa668447e8065729cc99141b36de0dd2c 100644 (file)
--- a/fd.h
+++ b/fd.h
@@ -13,11 +13,10 @@ __must_check int mark_fd_nonblocking(int fd);
  */
 _static_inline_ int dss_rename(const char *old_path, const char *new_path)
 {
-       int ret;
-
        if (rename(old_path, new_path) >= 0)
                return 1;
-       ret = -ERRNO_TO_DSS_ERROR(errno);
-       make_err_msg("rename %s -> %s failed", old_path, new_path);
-       return ret;
+       return -ERRNO_TO_DSS_ERROR(errno);
 }
+
+int dss_select(int n, fd_set *readfds, fd_set *writefds,
+               struct timeval *timeout_tv);