aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-03-13 08:57:46 +0000
committerWerner Koch <[email protected]>2018-03-13 08:57:46 +0000
commitc0d331c063842ab4352e616269788b7c71d63e02 (patch)
treeb94d151a1ebcdec01fdb050a7f3b75b25855e52a
parentcore: Remove accidently committed time function API. (diff)
downloadlibgpg-error-c0d331c063842ab4352e616269788b7c71d63e02.tar.gz
libgpg-error-c0d331c063842ab4352e616269788b7c71d63e02.zip
core: Fix regression due to not exporting the process API.
-- Fixes-commit: 0e503cae75cb1a6aa257228a65941b7630ff35d6 Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--src/gpg-error.h.in4
-rw-r--r--src/visibility.h3
2 files changed, 4 insertions, 3 deletions
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