From 0da27b30c1d6709ec92d15957cbef447d3ec85b8 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 9 Sep 1999 00:00:47 +0000 Subject: [PATCH] Deleted. git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5091 a4a2c43b-8ac3-0310-8836-e0e880c912e2 --- lib/select.c | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 lib/select.c diff --git a/lib/select.c b/lib/select.c deleted file mode 100644 index a237dd7..0000000 --- a/lib/select.c +++ /dev/null @@ -1,23 +0,0 @@ -/* select.c - bsd-games emulation of BSD select for games that need it */ - -/* This uses __select, which works with libc5 and libc6. This is a - * substitute for the version in libbsd from libc5, and is essentially - * equivalent. */ - -#include - -int -select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, - struct timeval *timeout) -{ - struct timeval timeout_copy; - struct timeval *timeout_ptr; - if (timeout) { - /* Copy to a temporary */ - timeout_copy = *timeout; - timeout_ptr = &timeout_copy; - } else { - timeout_ptr = timeout; - } - return __select(nfds, readfds, writefds, exceptfds, timeout_ptr); -}