summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/util.c b/util.c
index 4fef0b3e..b9616963 100644
--- 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>