summaryrefslogtreecommitdiffstats
path: root/news4-posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'news4-posix.c')
-rw-r--r--news4-posix.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/news4-posix.c b/news4-posix.c
deleted file mode 100644
index b1a289f7..00000000
--- a/news4-posix.c
+++ /dev/null
@@ -1,39 +0,0 @@
-#include "config.h"
-
-#ifdef HAVE_NEWS4
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <unistd.h>
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-
-#include <sys/fcntl.h>
-#include <sys/ioctl.h>
-#include <sys/time.h>
-#include <sys/file.h>
-#include <errno.h>
-#include <termios.h>
-#include <sys/wait.h>
-
-#include "xmalloc.h"
-#include "ssh.h"
-#include "news4-posix.h"
-
-int
-waitpid(int pid, int *stat_loc, int options)
-{
- if (pid <= 0) {
- if (pid != -1) {
- errno = EINVAL;
- return -1;
- }
- pid = 0; /* wait4() expects pid=0 for indiscriminate wait. */
- }
- return wait4(pid, (union wait *)stat_loc, options, NULL);
-}
-
-#endif /* HAVE_NEWS4 */