diff --git a/sysdeps/unix/bsd/sun/sunos4/wait4.c b/sysdeps/unix/bsd/sun/sunos4/wait4.c index 1ee7beab4c..561457e11e 100644 --- a/sysdeps/unix/bsd/sun/sunos4/wait4.c +++ b/sysdeps/unix/bsd/sun/sunos4/wait4.c @@ -25,6 +25,9 @@ Cambridge, MA 02139, USA. */ #include #include +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); }