summaryrefslogtreecommitdiffstats
path: root/osdep/polldev.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-17 21:59:16 -0500
committerDudemanguy <random342@airmail.cc>2023-10-10 19:10:55 +0000
commitba4b408b8bdc2aa0059abaaffe8b16f28aec480b (patch)
treeb4bfe0dc0f5d08e2eb1a596ddb64635c793accc3 /osdep/polldev.h
parenta899e14bccb667af243f8fce454160e17ae45c2a (diff)
downloadmpv-ba4b408b8bdc2aa0059abaaffe8b16f28aec480b.tar.bz2
mpv-ba4b408b8bdc2aa0059abaaffe8b16f28aec480b.tar.xz
osdep: rename polldev to poll_wrapper
Originally, this was added as purely a shim for macOS. However since we want to do high resolution polling which is not neccesarily available on all platforms, making this a generic wrapper for poll functions is useful so rename it.
Diffstat (limited to 'osdep/polldev.h')
-rw-r--r--osdep/polldev.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/osdep/polldev.h b/osdep/polldev.h
deleted file mode 100644
index 8593c1e77c..0000000000
--- a/osdep/polldev.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#pragma once
-
-#include <poll.h>
-
-// Behaves like poll(3) but works for device files on macOS.
-// Only supports POLLIN and POLLOUT.
-int polldev(struct pollfd fds[], nfds_t nfds, int timeout);