X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fpipespawn.h;h=581312154285cc08af833ec48978076f638a27e7;hb=e9de482962ca61612054c6e0382814b04e416129;hp=4ef7d662e243699314ddb3f75cc77a435ba2c9ad;hpb=3ab887b9bc819a846c75dd7f2ee5d41fac22b19f;p=debian%2Famanda diff --git a/common-src/pipespawn.h b/common-src/pipespawn.h index 4ef7d66..5813121 100644 --- a/common-src/pipespawn.h +++ b/common-src/pipespawn.h @@ -12,12 +12,11 @@ extern char skip_argument[1]; #define STDERR_PIPE (1 << 2) #define PASSWD_PIPE (1 << 3) -int pipespawn P((char *prog, int pipedef, +pid_t pipespawn(char *prog, int pipedef, int need_root, int *stdinfd, int *stdoutfd, int *stderrfd, - ...)); -int pipespawnv P((char *prog, int pipedef, + ...); +pid_t pipespawnv(char *prog, int pipedef, int need_root, int *stdinfd, int *stdoutfd, int *stderrfd, - char **my_argv)); - + char **my_argv); #endif /* PIPESPAWN_H */