From ec18df84661189b11e426eefd999348b9e60c16a Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 29 May 2014 23:56:56 +0200 Subject: input: separate wakeup pipe creation into a separate function Error handling is slightly reduced: we assume that setting a pipe to non-blocking can never fail. --- osdep/io.h | 1 + 1 file changed, 1 insertion(+) (limited to 'osdep/io.h') diff --git a/osdep/io.h b/osdep/io.h index 53097a1b78..306e2ac6ec 100644 --- a/osdep/io.h +++ b/osdep/io.h @@ -44,6 +44,7 @@ #endif bool mp_set_cloexec(int fd); +int mp_make_wakeup_pipe(int pipes[2]); #ifdef _WIN32 #include -- cgit v1.2.3