projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c5671f9
)
remove some functions that aren't used in base
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 21 Aug 2008 14:23:39 +0000
(14:23 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 21 Aug 2008 14:23:39 +0000
(14:23 +0000)
System/Posix/Internals.hs
patch
|
blob
|
history
diff --git
a/System/Posix/Internals.hs
b/System/Posix/Internals.hs
index
5828d72
..
5b9eb95
100644
(file)
--- a/
System/Posix/Internals.hs
+++ b/
System/Posix/Internals.hs
@@
-319,9
+319,6
@@
foreign import ccall unsafe "HsBase.h access"
foreign import ccall unsafe "HsBase.h chmod"
c_chmod :: CString -> CMode -> IO CInt
foreign import ccall unsafe "HsBase.h chmod"
c_chmod :: CString -> CMode -> IO CInt
-foreign import ccall unsafe "HsBase.h chdir"
- c_chdir :: CString -> IO CInt
-
foreign import ccall unsafe "HsBase.h close"
c_close :: CInt -> IO CInt
foreign import ccall unsafe "HsBase.h close"
c_close :: CInt -> IO CInt
@@
-340,9
+337,6
@@
foreign import ccall unsafe "HsBase.h dup2"
foreign import ccall unsafe "HsBase.h __hscore_fstat"
c_fstat :: CInt -> Ptr CStat -> IO CInt
foreign import ccall unsafe "HsBase.h __hscore_fstat"
c_fstat :: CInt -> Ptr CStat -> IO CInt
-foreign import ccall unsafe "HsBase.h getcwd"
- c_getcwd :: Ptr CChar -> CSize -> IO (Ptr CChar)
-
foreign import ccall unsafe "HsBase.h isatty"
c_isatty :: CInt -> IO CInt
foreign import ccall unsafe "HsBase.h isatty"
c_isatty :: CInt -> IO CInt
@@
-372,9
+366,6
@@
foreign import ccall unsafe "HsBase.h read"
foreign import ccall unsafe "HsBase.h rewinddir"
c_rewinddir :: Ptr CDir -> IO ()
foreign import ccall unsafe "HsBase.h rewinddir"
c_rewinddir :: Ptr CDir -> IO ()
-foreign import ccall unsafe "HsBase.h rmdir"
- c_rmdir :: CString -> IO CInt
-
foreign import ccall unsafe "HsBase.h __hscore_stat"
c_stat :: CString -> Ptr CStat -> IO CInt
foreign import ccall unsafe "HsBase.h __hscore_stat"
c_stat :: CString -> Ptr CStat -> IO CInt