From abcc6295f998cd28bc4de3b3c8d7266dec462bac Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 21 Jan 2004 17:28:47 +0000 Subject: [PATCH] [project @ 2004-01-21 17:28:47 by simonmar] __hscore_set_errno() should return void, not int. --- include/HsBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/HsBase.h b/include/HsBase.h index 9db6133..e3a8120 100644 --- 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); } -- 1.7.10.4