From ba4b408b8bdc2aa0059abaaffe8b16f28aec480b Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sun, 17 Sep 2023 21:59:16 -0500 Subject: 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. --- osdep/polldev.h | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 osdep/polldev.h (limited to 'osdep/polldev.h') 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 - -// 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); -- cgit v1.2.3