projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e32619e
)
[project @ 2004-01-21 17:28:47 by simonmar]
author
simonmar
<unknown>
Wed, 21 Jan 2004 17:28:47 +0000
(17:28 +0000)
committer
simonmar
<unknown>
Wed, 21 Jan 2004 17:28:47 +0000
(17:28 +0000)
__hscore_set_errno() should return void, not int.
include/HsBase.h
patch
|
blob
|
history
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
9db6133
..
e3a8120
100644
(file)
--- a/
include/HsBase.h
+++ b/
include/HsBase.h
@@
-204,7
+204,7
@@
StgWord64 stg_integerToWord64 (StgInt sa, StgByteArray /* Really: mp_limb_t* */
#endif
INLINE int __hscore_get_errno(void) { return errno; }
-INLINE int __hscore_set_errno(int e) { errno = e; }
+INLINE void __hscore_set_errno(int e) { errno = e; }
#if !defined(_MSC_VER)
INLINE int __hscore_s_isreg(m) { return S_ISREG(m); }