aboutsummaryrefslogtreecommitdiffstats
path: root/src/spawn-posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spawn-posix.c')
-rw-r--r--src/spawn-posix.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/spawn-posix.c b/src/spawn-posix.c
index eb990ad..67a118f 100644
--- a/src/spawn-posix.c
+++ b/src/spawn-posix.c
@@ -769,8 +769,9 @@ _gpgrt_process_get_streams (gpgrt_process_t process, unsigned int flags,
return 0;
}
-static gpg_err_code_t
-process_vctl (gpgrt_process_t process, unsigned int request, va_list arg_ptr)
+gpg_err_code_t
+_gpgrt_process_vctl (gpgrt_process_t process, unsigned int request,
+ va_list arg_ptr)
{
switch (request)
{
@@ -870,18 +871,6 @@ process_vctl (gpgrt_process_t process, unsigned int request, va_list arg_ptr)
}
gpg_err_code_t
-_gpgrt_process_ctl (gpgrt_process_t process, unsigned int request, ...)
-{
- va_list arg_ptr;
- gpg_err_code_t ec;
-
- va_start (arg_ptr, request);
- ec = process_vctl (process, request, arg_ptr);
- va_end (arg_ptr);
- return ec;
-}
-
-gpg_err_code_t
_gpgrt_process_wait (gpgrt_process_t process, int hang)
{
gpg_err_code_t ec;