From c0d331c063842ab4352e616269788b7c71d63e02 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 13 Mar 2018 09:57:46 +0100 Subject: core: Fix regression due to not exporting the process API. -- Fixes-commit: 0e503cae75cb1a6aa257228a65941b7630ff35d6 Signed-off-by: Werner Koch --- src/gpg-error.h.in | 4 ++-- src/visibility.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index e78a6f1..11d4950 100644 --- a/src/gpg-error.h.in +++ b/src/gpg-error.h.in @@ -1029,12 +1029,12 @@ void _gpgrt_log_assert (const char *expr, const char *file, int line, /* * Spawn functions (Not yet available) */ -#if 0 - #define GPGRT_SPAWN_NONBLOCK 16 /* Set the streams to non-blocking. */ #define GPGRT_SPAWN_RUN_ASFW 64 /* Use AllowSetForegroundWindow on W32. */ #define GPGRT_SPAWN_DETACHED 128 /* Start the process in the background. */ +#if 0 + /* Function and convenience macros to create pipes. */ gpg_err_code_t gpgrt_make_pipe (int filedes[2], gpgrt_stream_t *r_fp, int direction, int nonblock); diff --git a/src/visibility.h b/src/visibility.h index b33744d..f37555a 100644 --- a/src/visibility.h +++ b/src/visibility.h @@ -188,6 +188,7 @@ MARK_VISIBLE (gpgrt_log_clock) MARK_VISIBLE (gpgrt_log_flush) MARK_VISIBLE (_gpgrt_log_assert) +#if 0 MARK_VISIBLE (gpgrt_make_pipe) MARK_VISIBLE (gpgrt_spawn_process) MARK_VISIBLE (gpgrt_spawn_process_fd) @@ -196,7 +197,7 @@ MARK_VISIBLE (gpgrt_wait_process) MARK_VISIBLE (gpgrt_wait_processes) MARK_VISIBLE (gpgrt_kill_process) MARK_VISIBLE (gpgrt_release_process) - +#endif #undef MARK_VISIBLE -- cgit v1.2.3