diff options
author | Ian Lynagh <igloo@earth.li> | 2012-02-26 15:19:19 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-02-26 15:19:19 +0000 |
commit | 9ba5344d62045df030376a0d64d88d30c51a2b09 (patch) | |
tree | 75a15b7f53dcbf176f8715c4e1dcfa93d089cf33 /libraries/base/include/HsBase.h | |
parent | 702891caaababb48642640d819ac78e7187e9abd (diff) | |
download | haskell-9ba5344d62045df030376a0d64d88d30c51a2b09.tar.gz |
Remove some unused code
Diffstat (limited to 'libraries/base/include/HsBase.h')
-rw-r--r-- | libraries/base/include/HsBase.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libraries/base/include/HsBase.h b/libraries/base/include/HsBase.h index 271c2752ce..ce4655321e 100644 --- a/libraries/base/include/HsBase.h +++ b/libraries/base/include/HsBase.h @@ -550,21 +550,6 @@ INLINE off_t __hscore_lseek(int fd, off_t off, int whence) { } #endif -// select-related stuff - -#if !defined(__MINGW32__) -INLINE int hsFD_SETSIZE(void) { return FD_SETSIZE; } -INLINE int hsFD_ISSET(int fd, fd_set *fds) { return FD_ISSET(fd, fds); } -INLINE void hsFD_SET(int fd, fd_set *fds) { FD_SET(fd, fds); } -INLINE HsInt sizeof_fd_set(void) { return sizeof(fd_set); } -extern void hsFD_ZERO(fd_set *fds); -#endif - -INLINE int __hscore_select(int nfds, fd_set *readfds, fd_set *writefds, - fd_set *exceptfds, struct timeval *timeout) { - return (select(nfds,readfds,writefds,exceptfds,timeout)); -} - #if darwin_HOST_OS // You should not access _environ directly on Darwin in a bundle/shared library. // See #2458 and http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man7/environ.7.html |