Formerly sysdeps/unix/bsd/sun/sunos4/__wait4.c.~2~
authorRoland McGrath <roland@gnu.org>
Mon, 29 Jun 1992 23:00:00 +0000 (23:00 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 29 Jun 1992 23:00:00 +0000 (23:00 +0000)
sysdeps/unix/bsd/sun/sunos4/wait4.c

index 1ee7bea..561457e 100644 (file)
@@ -25,6 +25,9 @@ Cambridge, MA 02139, USA.  */
 #include <sys/wait.h>
 #include <unistd.h>
 
+extern pid_t EXFUN(__wait4_syscall,
+                  (pid_t pid, union wait *stat_loc, int options, PTR usage));
+
 pid_t
 DEFUN(__wait4, (pid, stat_loc, options, usage),
       pid_t pid AND union wait *stat_loc AND int options AND PTR usage)
@@ -40,5 +43,5 @@ DEFUN(__wait4, (pid, stat_loc, options, usage),
       break;
     }
 
-  return __wait4_syscall (pid, stat_loc, option, usage);
+  return __wait4_syscall (pid, stat_loc, options, usage);
 }