aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-04-20 04:54:34 +0000
committerNIIBE Yutaka <[email protected]>2023-04-20 04:54:34 +0000
commit5d4c3b79ee87680fc558f2420d2b3395875d0387 (patch)
tree91b73d8b2ae20b4583f10872209a6ce1eb5fc127
parentRemove old API implementation for spawn functions. (diff)
downloadgnupg-5d4c3b79ee87680fc558f2420d2b3395875d0387.tar.gz
gnupg-5d4c3b79ee87680fc558f2420d2b3395875d0387.zip
exechelp: Clean up macros.
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--common/exechelp.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/common/exechelp.h b/common/exechelp.h
index 918295c73..1e80a7597 100644
--- a/common/exechelp.h
+++ b/common/exechelp.h
@@ -73,13 +73,6 @@ gpg_error_t gnupg_create_pipe (int filedes[2]);
void gnupg_close_pipe (int fd);
-#define GNUPG_SPAWN_NONBLOCK 16
-#define GNUPG_SPAWN_RUN_ASFW 64
-#define GNUPG_SPAWN_DETACHED 128
-#define GNUPG_SPAWN_KEEP_STDIN 256
-#define GNUPG_SPAWN_KEEP_STDOUT 512
-#define GNUPG_SPAWN_KEEP_STDERR 1024
-
/* The opaque type for a subprocess. */
typedef struct gnupg_process *gnupg_process_t;
#ifdef HAVE_W32_SYSTEM
@@ -101,9 +94,6 @@ struct spawn_cb_arg {
};
#endif
-/* Internal flag to ihnerit file descriptor/handle */
-#define GNUPG_PROCESS_INHERIT_FILE (1 << 0)
-
#define GNUPG_PROCESS_DETACHED (1 << 1)
/* Specify how to keep/connect standard fds. */