summaryrefslogtreecommitdiffstats
path: root/osdep/subprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/subprocess.h')
-rw-r--r--osdep/subprocess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/subprocess.h b/osdep/subprocess.h
index a32e7911c8..f272e1ad42 100644
--- a/osdep/subprocess.h
+++ b/osdep/subprocess.h
@@ -24,6 +24,8 @@ struct mp_cancel;
typedef void (*subprocess_read_cb)(void *ctx, char *data, size_t size);
+void mp_devnull(void *ctx, char *data, size_t size);
+
// Start a subprocess. Uses callbacks to read from stdout and stderr.
int mp_subprocess(char **args, struct mp_cancel *cancel, void *ctx,
subprocess_read_cb on_stdout, subprocess_read_cb on_stderr,