X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fpipespawn.h;h=581312154285cc08af833ec48978076f638a27e7;hb=1bb8b17cbd322ed6ab506918446390678b792738;hp=4a8a9e954ade9921a387a3a64df3b00f15dca882;hpb=eefb15c5c04acb3c75f0c704ea664feb1bbae75c;p=debian%2Famanda diff --git a/common-src/pipespawn.h b/common-src/pipespawn.h index 4a8a9e9..5813121 100644 --- a/common-src/pipespawn.h +++ b/common-src/pipespawn.h @@ -12,16 +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)); -int pipespawnv_passwd P((char *prog, int pipedef, - int *stdinfd, int *stdoutfd, int *stderrfd, - char *passwdvar, int *passwdfd, - char **my_argv)); - + char **my_argv); #endif /* PIPESPAWN_H */