]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly function.c.~16~
authorRoland McGrath <roland@redhat.com>
Sun, 1 Mar 1992 20:48:57 +0000 (20:48 +0000)
committerRoland McGrath <roland@redhat.com>
Sun, 1 Mar 1992 20:48:57 +0000 (20:48 +0000)
function.c

index 1bc66e66110413e34105d25793f14e1bb68666b5..bfec09cc1c0db8c7c7fa5c35a4300f99213509cc 100644 (file)
@@ -326,8 +326,6 @@ expand_function (o, function, text, end)
       
     case function_shell:
       {
-       extern int fork ();
-       extern int pipe ();
        char **argv;
        char *error_prefix;
        int pipedes[2];
@@ -359,7 +357,7 @@ expand_function (o, function, text, end)
 
        push_signals_blocked_p (1);
 
-       pid = fork ();
+       pid = vfork ();
        if (pid < 0)
          perror_with_name (error_prefix, "fork");
        else if (pid == 0)