summaryrefslogtreecommitdiff
path: root/libraries/base/include
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-06-22 09:26:56 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-06-22 09:26:56 +0000
commit7f3e27157d1f812f3c98179458242f3d7c97bee8 (patch)
tree611113ac3f88cd0e43c9b90bd28fe198368e5060 /libraries/base/include
parent14a5ed1462742e6cdf05ec0cf8d0fef98ee2f649 (diff)
downloadhaskell-7f3e27157d1f812f3c98179458242f3d7c97bee8.tar.gz
Tidy up use of read/write/recv/send; avoid unnecessary wrappers
Diffstat (limited to 'libraries/base/include')
-rw-r--r--libraries/base/include/HsBase.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/libraries/base/include/HsBase.h b/libraries/base/include/HsBase.h
index ccabc1e1f9..92cc4e34fe 100644
--- a/libraries/base/include/HsBase.h
+++ b/libraries/base/include/HsBase.h
@@ -417,33 +417,6 @@ __hscore_setmode( int fd, HsBool toBin )
#if __GLASGOW_HASKELL__
-INLINE int
-__hscore_PrelHandle_write( int fd, void *ptr, HsInt off, int sz )
-{
- return write(fd,(char *)ptr + off, sz);
-}
-
-INLINE int
-__hscore_PrelHandle_read( int fd, void *ptr, HsInt off, int sz )
-{
- return read(fd,(char *)ptr + off, sz);
-
-}
-
-#if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)
-INLINE int
-__hscore_PrelHandle_send( int fd, void *ptr, HsInt off, int sz )
-{
- return send(fd,(char *)ptr + off, sz, 0);
-}
-
-INLINE int
-__hscore_PrelHandle_recv( int fd, void *ptr, HsInt off, int sz )
-{
- return recv(fd,(char *)ptr + off, sz, 0);
-}
-#endif
-
#endif /* __GLASGOW_HASKELL__ */
INLINE int