sleep for a smaller time while waiting for a process to exit
[rsync/rsync.git] / util.c
diff --git a/util.c b/util.c
index 4fef0b3..b961696 100644 (file)
--- a/util.c
+++ b/util.c
@@ -929,20 +929,6 @@ char *timestring(time_t t)
        return(TimeBuf);
 }
 
-
-/****************************************************************************
- like waitpid but does the WEXITSTATUS
-****************************************************************************/
-#ifndef WEXITSTATUS
-#define        WEXITSTATUS(stat)       ((int)(((stat)>>8)&0xFF))
-#endif
-void wait_process(pid_t pid, int *status)
-{
-       waitpid(pid, status, 0);
-       *status = WEXITSTATUS(*status);
-}
-
-
 #ifdef __INSURE__
 #include <dlfcn.h>